Linux的一些常用命令

1.查看系统信息 系统版本

uname-a

cat /etc/redhat-release

查看CPU

lscpu

内存

free -h

硬盘

df -Th

 

2.firewall防火墙

启动: systemctl start firewalld

查状态: systemctl status firewa