Basic instructions
using the command format: name of the command [options] [target] operation
Directory related commands
> Ls directory browsing
-a view hidden files, Linux is beginning to file hidden files;.
the -l view file details
> Pwd View current path (absolute path)
The only Linux directory structure is a tree structure, the bottom is a directory
Absolute path: the starting path is the path to the root directory of
the relative path: the starting path is the path of the current directory of
the current path where.
... on the current directory one path
> Mkdir to create a directory
-p recursively create multi-level directory (which layer is created which layer does not exist)
> Rmdir to delete empty directories
-p multi-level recursive delete empty directories
> Rm delete the default common file
-r delete a directory (the directory has been deleted, and all the files in the directory)
-f ignores tips direct operation
> Cp will copy the specified file to the specified directory
-r copy directories (and all files in a directory)
> Mv specified file or directory to the specified path
-i increase message
> Cd change the current path is located
~ Quickly return the current user's home directory
Documents related to command
> Touch if the file does not exist, a new empty file is created, or refresh time attributes of the file
-d specified time Refresh
> Cat print all the contents of the file directly to the terminal display
> More page display file contents
Space Page down
carriage rolling down the row
q quit
> Less page display file contents
turning on the f / b / at
the j / k / group by line scrolling