Skip to content

Instantly share code, notes, and snippets.

@padde

padde/portcheck.sh

Created Jul 2, 2014
Embed
What would you like to do?
Is port in use?
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