name | Explanation |
Restart | reboot |
Shutdown | shutdown -h now poweroff |
Check the local IP address | ifconfig |
View the default file card information | cat /etc/sysconfig/network-scripts/ifcfg-eth0 |
Restart Network | service network restart |
Firewall Services | IPtables |
View firewall service is open | service iptables status |
Turn off the firewall | service iptables stop |
View firewall whether to activate the boot | chkconfig iptables --list |
Open the firewall | service iptables start |
Let Firewall boot does not start | chkconfig iptables off |
The firewall boot | chkconfig iptables on |
Linux is a simple command (firewall articles)
Guess you like
Origin www.cnblogs.com/hph1728390/p/11079037.html
Ranking