Created
July 2, 2014 22:42
-
-
Save padde/615e77b764f45ac9d71c to your computer and use it in GitHub Desktop.
Is port in use?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
netstat -anp tcp | awk '$6 ~ "LISTEN" && $4 ~ "22$"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment