Files
linux-script-helpers/check-port
2025-12-02 21:16:28 +07:00

5 lines
77 B
Bash
Executable File

#!/bin/bash
[ -v "$1" ] && ss -tunple | grep "$1"
[ -z "$1" ] && ss -tunple