check-port: added

This commit is contained in:
2025-12-02 21:16:28 +07:00
parent c899369793
commit 74fec824fe
2 changed files with 5 additions and 0 deletions

4
check-port Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
[ -v "$1" ] && ss -tunple | grep "$1"
[ -z "$1" ] && ss -tunple

View File

@@ -11,3 +11,4 @@ install -m 0775 ./dps /usr/bin/dps
install -m 0775 ./dde /usr/bin/dde
install -m 0775 ./ufw-status /usr/bin/ufw-status
install -m 0775 ./ufw-delete /usr/bin/ufw-delete
install -m 0775 ./check-port /usr/bin/check-port