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