尚硅谷面试第一季-12Linux常用服务类相关命令

课堂重点:

实操命令及运行结果:

(centos 6)

service network status

 

chkconfig --list

chkconfig --level 5 network off

(centos7)

systemctl status firewalld

systemctl stop firewalld

systemctl status firewalld

systemctl list-unit-files

systemctl list-unit-files |grep firewalld

systemctl disable firewalld

systemctl list-unit-files |grep firewalld

 文件地址:

https://gitee.com/ZhangShunHai/interview_atguigu_seasonone/tree/master/Linux%E5%B8%B8%E7%94%A8%E6%9C%8D%E5%8A%A1%E7%B1%BB%E7%9B%B8%E5%85%B3%E5%91%BD%E4%BB%A4

猜你喜欢

转载自www.cnblogs.com/zsh-blogs/p/10622530.html