| 名称 | 解释 |
| 重启 | 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 |
浙公网安备 33010602011771号