1. head logo [[email protected] ~]:
Where the Pecool representative login user, the demo represents the system name, ~ Represents the current user is currently in the directory, the specific directory structure is/home/pecool.
2.ls/:
The ' ls ' English list, '/' denotes the root, meaning that the root directory of the Linux system is listed, and the LS command does not switch file location, just view.
3.ls/home/pecool:
Show the file information under User Pecool
4.dir
Show all files and folders in the current directory
5.CD FileName
The CD represents a switch to the current location or directory, to a folder named FileName, as long as there must be such a folder in the directory where you are currently located
6.CD/And Cd/home/pecool switching
CD/means enter the root directory, [[email protected]/]; Cd/home/pecool means that the CD can switch to the directory directly under User Pecool.
6.cd..
Step back, equivalent to window down
7.touch A.txt
Create a file
8.mkdir MyFile
Create a folder
9.RM file name
Delete files, if the directory is directly deleted, will error, the hint is that the directory can not be deleted.
10.RM-RF folder name,-F Force Delete-R is recursive
Delete or folder
11.MV a.txt B.txt
Renaming a file
MV A.txt/home/pecool/myfile
Move files to another folder
Linux-----Beginner Commands and understanding