sysconfig/linux-port.sh
2022-06-19 22:20:50 +08:00

5 lines
84 B
Bash

echo "=== 需要查看的端口号:"
read -p ">>> " PORT
netstat -tunlp |rep $PORT