Reference is still Silicon Valley Grain Institute: http: //www.gulixueyuan.com/course/300/task/7078/show# (free view, very comprehensive curriculum, using a mobile phone on the line.)
1 . [Root @ localhost ~ ] 1.1 .Root currently logged on user 1.2 . @ No special meaning 1.3 .localhost short hostname of the current system 1.4 . ~ Represents the current directory 1.5 . # Prompt, # is the superuser, the average user is $ 2 .hostname: current host name 3 .ls 3.1 role:. ls command displays the contents of the specified working directory (list the files contained in the current working directory and subdirectories). 3.2 . Syntax: LS [- alrtAFR] [name ...] 3.3 Parameters:. -A displays all files and directories (ls default file name or directory name begins with " . " Are considered hidden files are not listed ) - L except the file name, file type will also, permissions, owner, file size and other information detailing - r file will display in the reverse order (originally in alphabetical order) - t file according to the established time priorities listed With -A -a, but not listed " . " (Current directory), and " .. " (parent directory) -F file names listed after adding a symbol; then add executable e.g. , " * " , directory then add " / " - R & lt If there is a file directory, the following are listed in order of file Yi Jie LS - how many display k lh. LS --color = Never (color is not displayed), Auto Auto, always (total color display ) LS -l / the root / . 4 .cd command: switch directories 4.1 absolute and relative paths. absolute path: from the root directory to find a level relative path: reference, such as the current position usr / 4.2 .cd - and back to the root directory cd cd - . Contents of the last representatives of 5.mkdir command to create the directory. 5.1 -. the p-parameter, ensure that the directory name exists, create one does not exist, L may mkdir 6 delete the directory .rmdir command. 7 .rm- the RF 123 delete, delete and could not return, no trash . 8 .extundelete can achieve Linux file / data folder recovery. can be installed, then you can use, and data recovery. Tip: command [options] [parameters] [] optional.