linux常用命令

1、查看端口被那些应用链接
 netstat -natp 192.168.0.1:8080
-n, --numeric              don't resolve names
-a, --all, --listening     display all sockets (default: connected)
-t, 显示TCP传输协议的连线状况。
-p, --programs  display PID/Program name for sockets
原文地址:https://www.cnblogs.com/chenweichu/p/11406724.html