1, Display the current location
Command : #pwd
2, Search command
Command : #grep String to be searched Condition to be searched
Example: Search the line containing the string a in the /test/aaa.txt file #grep
a aaa.txt
Example: Search for the line containing the string a in the /test/aaa.txt file, a highlight
3, view the process
Command : #ps -ef
4, pipe command
Command : | Use the output of the previous command as the current directory Input
Example : View all processes in the current process including process
5 of the system string, kill the process
Command : #kill -9 pid
6 of the process, network communication command
View the current system network card information: ifconfig
View the connection to a machine: ping
View system port usage: netstat -an
Linux learning summary (seven)
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=325860941&siteId=291194637
Recommended
Ranking