摘要: 1. 对防火墙iptables的相关操作 chkconfig --list | grep iptables 查看防火墙的服务 service iptable status 查看防火墙状态 servcie iptables stop --临时关闭防火墙 service iptables start - 阅读全文
posted @ 2019-07-19 16:47 黄小葱 阅读(7816) 评论(0) 推荐(1)
摘要: 1. 查看系统服务列表 chkconfig --list 可使用管道符【|】 查看其中的某个服务及其状态 如:chkconfig --list | grep sshd 注:再list前面有两个【-】 2. 查看服务列表及状态详细信息 service --status-all 3. 对某个服务的操作 阅读全文
posted @ 2019-07-19 11:37 黄小葱 阅读(8148) 评论(0) 推荐(0)