pid_for() { echo $(ss -lptn "sport = :$1") echo "---------\n" echo $(netstat -nlp | grep ":$1") echo "---------\n" echo $(lsof -n -i ":$1" | grep LISTEN) }