Linux如何监听端口 Mirrorcloud 3 月前 常用的两个代码: #已经用的端口有那些 sudo lsof -i -P -n | grep LISTEN #监听123端口在干啥 netstat -tulpn | grep :123