1. view commands for file contents
Cat TAC less more head tail
=======================================
2. actions for users and Groups
Useradd -New User
-U-Specify UID when creating new user
-G-Specify user default group when new user
-G-Specify user-attached groups
-S-Specify user login Shell
-D-Specify user plus directory
Default group: There is only one
Additional groups: You can have more than one
Usermod -Modify User Properties
-U-Modify User uid
-G-Modify user default group
-G-Modify user Attach Group
-ag-Append user additional groups
-S-Modify user login Shell
-D-Modify user home directory
Userdel -Delete User
-R-Delete all user files
passwd -Set Password
Groupadd -Add Group
-G-Specify GID
Groupmod -Modify Group Properties
-G-Modify GID
Groupdel Delete a group, if there are users in the group, you need to change the user's group to a different group first.
Chage Modify the account and password for a limited period
ID Displays the ID of the user and the ID of the owning group
Grpconv used to turn on the group's projection password
Pwunconv to turn off the user's projection password
Nologin Deny user Login
CHPASSWD Tools for batch update of user passwords
GRPCK used to verify the integrity of a group file
CHSB used to replace the shell used when logging in to the system
GPASSWD management tools for workgroup files under Linux
Pwck used to verify the contents and format and integrity of system authentication files
NewUsers for batching How to create multiple commands at once
LogName used to display user names
Groups used to print the workgroup to which the specified user belongs
Finger used to find and display user information
Linux System File Management User Group Operations Command Summary