linux查询端口被哪个程序使用了

使用如下命令查询8000端口被哪个程序使用

netstat -tunlp|grep 8000
原文地址:https://www.cnblogs.com/yuandaozhe/p/10679497.html