摘要:
[09:15:09 root@centos8 ~]#w -h |tr -s " " |cut -d" " -f3|uniq -c |sort -nr 3 10.0.0.1 1 - 阅读全文
posted @ 2023-10-07 13:49
小糊涂90
阅读(16)
评论(0)
推荐(0)
摘要:
[09:08:01 root@centos8 ~]#cat /etc/passwd |cut -d: -f1,3,7|sort -t: -k2 -n |tail -n1nobody:65534:/sbin/nologin 阅读全文
posted @ 2023-10-07 13:49
小糊涂90
阅读(54)
评论(0)
推荐(0)
摘要:
[09:03:59 root@centos8 ~]#echo -e "一共`grep -v "/sbin/nologin" /etc/passwd |awk -F: '{ print $1 }'|wc -l`个,它们分别是:\n`grep -v "/sbin/nologin" /etc/passwd 阅读全文
posted @ 2023-10-07 13:48
小糊涂90
阅读(27)
评论(0)
推荐(0)
摘要:
useradd 命令创建新的Linux用户 格式:useradd [options] LOGIN 常见选项: -u 指定用户的UID -o 配合-u 选项,不检查UID的唯一性 -g GID 指明用户所属基本组,可为组名,也可以GID -c "COMMENT“ 用户的注释信息 -d HOME_DIR 阅读全文
posted @ 2023-10-07 13:47
小糊涂90
阅读(24)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2023-10-07 13:46
小糊涂90
阅读(14)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2023-10-07 13:46
小糊涂90
阅读(26)
评论(0)
推荐(0)
摘要:
显示/etc目录下,以非字母开头,后面跟了一个字母以及其它任意长度任意字符的文件或目录 或者 阅读全文
posted @ 2023-10-07 13:45
小糊涂90
阅读(16)
评论(0)
推荐(0)

浙公网安备 33010602011771号