1. pwd
PWD: Displays the absolute path of the current directory
2. cd
CD Document: Go to subdirectory cd/usr/local/lib: Go to the specific directory CD.: Return to Parent directory CD/: Return root directory
3. mkdir
mkdir directory: Creating subdirectories mkdir-p/home/dir1/dir2/dir3: Creating Multi-level catalogs
4. ls
ls [options] [File | directory]: Displays the file and subdirectory information in the specified directory, displays the file and subdirectory information in the current directory when no directory is specified main option:-L, view the details of a file or subdirectory under the current directory
5. Cat
Cat [Options] File list: Displays the contents of a text file main options:-N, which indicates that line numbers are displayed before each line
6. More
More filename: Split screen Displays the contents of the text file filename
7. CP
CP [Options] source file destination file: Copy one file to another file, or copy several files to another directory main option:-R, if the source file contains a directory name, the files under the directory are also copied to the destination
8. MV
MV [Options] source file destination file: Move one file to another, or move several files to another directory main option:-I, if the destination already has a file with the same name, first ask whether to overwrite the old file
9. rm
RM [Options] [File | directory]: Delete files and directories main option:-I, one by one before deleting the confirmation;-R, the directory and the following files are also deleted;-F, even if the original file property is set to read-only, it is also directly deleted, do not need to confirm each
Ten. chmod
chmod [Options] [Files | directory]: Changing the permissions properties of a file
One. Tar
tar [options] [filename of tar] [file list]: Compress, unzip tarball in tar format, make backup, restore backup files, etc.
Man
Man command name: Displays the help information for the specified command
--help.
Displays help for the specified command
Ping
Ping Network host Address: see if a host on the network can communicate
Ifconfig.
Ifconfig NIC Name: Configure NIC information, such as IP address, subnet mask, and default gateway
Netstat.
netstat [parameter list]: Display the native network status common parameters:-A or-all, display all connections in the socket
. telnet
Telnet Network host Address: remote login to a server host on the network
...... Cond
Shell Common Commands