摘要:
1、创建用户列表 [root@centos7pc1 home]# seq -f liujiaxin%02g 2 10 liujiaxin02 liujiaxin03 liujiaxin04 liujiaxin05 liujiaxin06 liujiaxin07 liujiaxin08 liujiax 阅读全文
posted @ 2022-04-01 15:39
小鲨鱼2018
阅读(1099)
评论(0)
推荐(0)
摘要:
1、linux中if条件判断语句,基本结构: if 条件判断语句 then command fi [root@centos7pc1 test2]# ls test.sh [root@centos7pc1 test2]# cat test.sh ## 脚本文件 #!/bin/bash if [ ! - 阅读全文
posted @ 2022-04-01 09:39
小鲨鱼2018
阅读(6342)
评论(0)
推荐(0)
摘要:
1、查看系统中当前的所有用户 [root@centos7pc1 test2]# grep bash /etc/passwd root:x:0:0:root:/root:/bin/bash liujiaxin01:x:1000:1000:liujiaxin01:/home/liujiaxin01:/b 阅读全文
posted @ 2022-04-01 09:25
小鲨鱼2018
阅读(513)
评论(0)
推荐(0)
摘要:
1、系统 [root@centos7pc1 test2]# lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-n 阅读全文
posted @ 2022-04-01 09:08
小鲨鱼2018
阅读(3404)
评论(0)
推荐(0)

浙公网安备 33010602011771号