shell 查看 centos 系统 防火墙状态

shell 查看 centos 系统 防火墙状态
[rootlocalhost config]# systemctl stop firewalld.service // 关闭防火墙 [rootlocalhost config]# firewall-cmd --state not running // 已关闭