Linux small number of commonly used commands

Use xshell connect virtual machines

rz uploaded linux server

sz downloaded from the server

 

df -h to view disk size

du See all disk (HDD) size (-h -s statistics of the current directory readable size) du -sh

See free memory (-m or -h readably)

 

netstat view the port status  

netstat -nlpt | grep 3306 3306 View port status investigation which port is occupied

Run history View history record

 

wc -l statistics ls | wc -l to view the current directory files, and how many statistics

 

Guess you like

Origin www.cnblogs.com/wuzm/p/10993257.html