First, CD--Changedirectory
A) switch to the/demolm/folder
b) Go back to the user's Home root directory: Which account is logged in will enter which user's root directory
Second, pwd--printworkingdirectory
A) View current working directory
Three, mkdir--makedirectory
A) Create a/test/directory
Four, touch--
A) Create a test.txt file
Five, RM--ReMove
A) Delete the Test.txt file
b) Delete the Test folder
c) Delete/test2/files and folders at the same time
Vi. CP-Copy
A) Copy the/test1/folder under Test1.txt to the/test2/folder
b) Copy the/test1/folder and the files in it to the/test2/folder
c) You can also use wildcard characters to perform advanced operations
*: Indicates all files and folders
?: Represents a character
Seven, MV--Move
A) Move the/test2/test1/folder to the/demolm/
Eight, find--
A) find the Test1.txt file
b) Find the file that starts with test
c) Find the file with the owner as root in the current directory
Nine, cat--concatenate
A) View/etc/services
b) Head/tail similar to Cat
View Top 10 rows
View after 10 lines
c) Similar to cat more, one screen display/etc/services
d) The cat command redirects output to text and outputs/etc/services content to/demolm/test.txt
Mask
2017-09-30 13:39 Friday
"Linux notes (002)"--CENTOS7 basic commands for document operation