Linux 查看指定端口被占用

netstat -tnlp | grep :22  

ss -lntpd | grep :22

netstat -tnlp | grep :22

原文地址:https://www.cnblogs.com/MUQINGFENG123/p/12876930.html