摘要: 1,查看用户 cat /etc/passwd 2,删除用户 userdel 用户名 3,查看组 cat /etc/group 4,删除组 groupdel 组名 5,查看可以登录系统的用户:cat /etc/passwd | grep -v /sbin/nologin | cut -d : -f 1 阅读全文
posted @ 2020-08-03 12:31 Coding&Fun 阅读(886) 评论(0) 推荐(0)
摘要: 查看Linux系统版本的命令的方法 1、各版本通用的方法,查看 /etc/os-release 文件 cat /etc/os-release 2、使用lsb_release -a命令【Linux Standard Base】(适用于RedHat、SUSE、Debian…等发行版,需安装 lsb-re 阅读全文
posted @ 2020-08-03 12:16 Coding&Fun 阅读(800) 评论(0) 推荐(0)