linux netstat 查看网络连接状况

netstat -lnp
netstat -an |grep 127.0.0.1 tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN [root@wang /]# netstat -an |grep 127.0.0.1 |grep -ic estab
0
原文地址:https://www.cnblogs.com/buxiangxin/p/6270338.html