首页 > 系统服务 > 详细

Linux的简单命令(防火墙篇)

时间:2019-06-24 20:29:26      阅读:113      评论:0      收藏:0      [点我收藏+]
名称 解释
重启 reboot
关机

shutdown  -h   now   

poweroff

查看本机IP地址 ifconfig
查看默认网卡信息的文件 cat /etc/sysconfig/network-scripts/ifcfg-eth0
重启网络   service network  restart
防火墙服务    IPtables  
查看防火墙服务是否开启 service iptables status
关闭防火墙 service iptables stop
查看防火墙开机是否启动   chkconfig iptables --list
开启防火墙 service iptables start
让防火墙开机不启动 chkconfig iptables off
让防火墙开机启动 chkconfig iptables on

Linux的简单命令(防火墙篇)

原文:https://www.cnblogs.com/hph1728390/p/11079037.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!