Skip to content

Instantly share code, notes, and snippets.

@NapoleonWils0n
Created November 2, 2012 01:57
Show Gist options
  • Save NapoleonWils0n/3998192 to your computer and use it in GitHub Desktop.
Save NapoleonWils0n/3998192 to your computer and use it in GitHub Desktop.
bash: list open ports
# List all open ports and their owning executables
lsof -i -P | grep -i "listen"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment