u
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
echo "=== 需要查看的端口号:"
|
||||
read -p ">>> " PORT
|
||||
if [ "$1" ]
|
||||
then
|
||||
PORT=$1
|
||||
else
|
||||
echo "=== 需要查看的端口号:"
|
||||
read -p ">>> " PORT
|
||||
fi
|
||||
|
||||
netstat -tunlp | grep $PORT
|
||||
|
||||
Reference in New Issue
Block a user