Last active
July 9, 2016 19:52
-
-
Save thomaswilley/eb0fa441438f52ccbba5fcb9339e0bab to your computer and use it in GitHub Desktop.
Quick incantation to see all the processes using ports/internet (add specific port after -i, e.g., -i :443, to limit results to just that port), sudo it to see fuller list, pipe into grep LISTEN plus sudo to see local servers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lsof -i +c 0 | awk '{ print $1 }' | uniq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment