Skip to content

Instantly share code, notes, and snippets.

@CaptainJiNX
Created February 16, 2017 16:02
Show Gist options
  • Save CaptainJiNX/7bf06ec7cff39b85c5aeca37179dd0b2 to your computer and use it in GitHub Desktop.
Save CaptainJiNX/7bf06ec7cff39b85c5aeca37179dd0b2 to your computer and use it in GitHub Desktop.
Find listening ports (osx)
netstat -atp tcp | grep -i "listen"
sudo lsof -i -P | grep -i "listen"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment