Skip to content

Instantly share code, notes, and snippets.

@mayrund
Created July 14, 2015 16:11
Show Gist options
  • Save mayrund/0a10d9646806af7468b1 to your computer and use it in GitHub Desktop.
Save mayrund/0a10d9646806af7468b1 to your computer and use it in GitHub Desktop.
osx CLI tricks
# list all open network connections by PID
lsof -i | grep -E "(LISTEN|ESTABLISHED)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment