sysconfig/portscan-linux.sh
2022-12-12 15:31:17 +08:00

5 lines
86 B
Bash

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