useradd - create a new user or update default new user information. groupadd - create a new group users - print the user names of users currently logged in to the current host' groups - print the groups a user is in id - print real and effective user and groups IDs list users - cat /etc/passwd | grep --color ^[^:]\\+ cat /etc/passwd | awk -F':' '{print $1}' list groups - cat /etc/group | grep --color ^[^:]\\+ cat /etc/group | awk -F':' '{print $1}'[table]
Linux commands related to user and group (MEMO)
最新推荐文章于 2022-07-05 11:59:55 发布