First, view the current catalog file
LS Demo view all files under the demo directory
Ls-l Demo/test.txt--View detailed contents of the specified directory (test.txt)
Second, copy the file
CP ori.txt Demo/des.txt--copy ori.txt content to Des.txt and create new Des.txt
Third, add users
Useradd Zhonglitaxue---Add user zhonglitaxue
Iv. Modifying the user's password
Usermod-p 123456 Zhonglitaxue--Modify the user's password, this way the password is visible
passwd Zhonglitaxue--The password in this way is not visible
Five, see all the Users
Tail-l/etc/shadow--View added users
Vi. Deleting users
Userdel-r Zhonglitaxue
Vii. deletion of files
RM-RF Text--delete the file under text and do not access it
Eight, search function, filter, the desired or do not want to separate open
grep Hello Test.txt--Search for the specified string in file Test.txt
Grep-v Hello Test.txt--Search for all rows in the file test.txt that do not contain a pattern
Nine
Linux Command First Knowledge