Skip to content

Instantly share code, notes, and snippets.

@pokka
Last active August 29, 2015 14:20
Show Gist options
  • Save pokka/74aa3d4451f1df793693 to your computer and use it in GitHub Desktop.
Save pokka/74aa3d4451f1df793693 to your computer and use it in GitHub Desktop.
Check the ports stat in linux
netstat -an | grep -i listen
netstat -an | grep -i listen | grep PORTNUMBERYOUWANT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment