From 0476d08be8ca7d55db519dba4f62914458dee216 Mon Sep 17 00:00:00 2001 From: Luk Lu Date: Tue, 5 Jul 2022 23:09:30 +0800 Subject: [PATCH] u --- linux-port.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-port.sh b/linux-port.sh index 502aaeb..f83e137 100644 --- a/linux-port.sh +++ b/linux-port.sh @@ -1,4 +1,4 @@ echo "=== 需要查看的端口号:" read -p ">>> " PORT -netstat -tunlp |rep $PORT +netstat -tunlp | grep $PORT