ubuntu server commonly used commands

1. Check system version

cat /etc/issue

cat /etc/lsb-release

 

2. Check cpu

lscpu

3. Check the memory

free -m

4. Check the hard disk size

fdisk -l | grep Disk

5. Check disk usage

df -h

 

 

 

Guess you like

Origin www.cnblogs.com/tyche116/p/11880775.html