Skip to content

Instantly share code, notes, and snippets.

@deviousway
Created January 23, 2018 21:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deviousway/8c0868cacc55f2470d304974462f6ef0 to your computer and use it in GitHub Desktop.
Save deviousway/8c0868cacc55f2470d304974462f6ef0 to your computer and use it in GitHub Desktop.
lsof command to find all things listening on ports
lsof -Pnl +M -i4 | grep LISTEN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment