Linux 日常命令

1、ipconfig,查看网卡的网络配置
2、netstat -an (或netstat -an|grep 01),查看端口状态
3、shutdown -h now,立即关机
4、shotdown -r now,立即重新启动
5、/sbin/ifconfig eth0 hw ether 00:AA:BB:CC:DD:EE,修改网卡物理地址(MAC)
6、top,查看服务器CPU、内存实时使用率

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.