Monday, April 4, 2016

linux: how to find which pid is listenning specific port number


# ps -p $(fuser 22/tcp 2>/dev/null | awk '{print $1}') -o args

No comments:

Post a Comment