Created
August 3, 2016 17:35
-
-
Save mrinalwadhwa/2d1bb34e6ec4af165c4d69ec35c67e4c to your computer and use it in GitHub Desktop.
Listening TCP ports
This file contains hidden or 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
#!/usr/bin/env bash | |
sudo lsof -i -P | grep -i "listen" | |
# REFERENCES | |
# http://apple.stackexchange.com/a/117648 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment