跟大家分享个蛋疼的小命令,在linux下,有的时候我们想查看下某个端口是被哪个程序listen。 采用 lsof命令 lsof -i :端口 采用netstat命令 netstat -a |grep LISTEN |grep -v unix 欢迎加入蛋蛋的QQ群:214262473