PWD Print working directory printing working Directory
hostname My Computer ' s network name computer on the Web
mkdir make directory Create path
CD Change Directory changes path
LS list directory lists the contents of the path
RmDir Remove Directory Delete path
PUSHD Push Directory pushing path
POPD Pop Directory launch path
CP copy a file or directory copy files (which directly cover existing files) Cp-r: Recursive replication, together with files under folders
MV move a file or directory to move files or paths (that is, rename, do not know why the abbreviation for move)
Less page through a file page-wise browse files Q exit view
Cat Print the whole file prints out the entire document
Xargs Execute arguments execution parameters
Find Find Files
grep find things inside files finds content in a file. Use regular search to include the contents of the keyword and return the row
Man mannual page reading manual, help command
Apropos find what's appropriate find the right manual page
Env look at your environment view environment
echo Print some arguments printing parameters
Export Export/set A new environment variable exporting/setting up an environment variable
Exit exit the Shell
sudo become super User root becomes superuser or root
chmod Change permission modifiers modify file permissions
Chown Changeownership Modifying the owner of a file
Cd.. Go back to the top level directory (there are spaces!) )
CD "I had fun" open a folder with spaces in the middle with ""
CD i\ have\ fun/open a folder with spaces in the middle of the name, use \ Translate spaces
CD ~ Back to home directory (with spaces in the middle!) )
Cd.. /.. /.. Go up three levels directory (the current directory is the first layer)
MKDIR-P Create a complete path, p is the meaning of the parent