Skip to content

Instantly share code, notes, and snippets.

@codeprimate
Created May 28, 2009 14:20
Show Gist options
  • Save codeprimate/119336 to your computer and use it in GitHub Desktop.
Save codeprimate/119336 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Lists listening processes. For OSX
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