sysconfig/linux-port.sh
2022-07-05 23:09:30 +08:00

5 lines
86 B
Bash

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