Common Linux commands and common linux commands
1. Common commands
Ls displays the files and folders in the current directory;
-Ltr displays detailed information about files and folders in chronological order. Only folders and files are displayed without parameters.
Vi Open File Content
Tar-cvf file.tar file is compressed into a tar package
Tar-xvf file.tar file: Decompress the tar package. You do not need to write the following files. The default file is decompressed.
Cp copy cp file. xml file2015.xml
Mv mobile mv file./dmpifle/file
Scp copy a file from one machine to another scp/home/daisy/full.tar.gz root@172.19.2.75:/home/root
Find queries the matching file find.-name file. xml in the current directory | xargs grep 'value = "7432 "'
Find.-name file. xml query the files in the current directory
Arp-a queries all ip addresses in the LAN
Nbtstat-a ip address query information corresponding to the ip address.
Ps-ef: displays messages of all processes. ps-ef | grep qtdb
Kill-9 18775 terminate a process