Created
December 2, 2014 22:44
-
-
Save jaredstehler/4d9a5d9f2736be8eeb56 to your computer and use it in GitHub Desktop.
/usr/local/bin/whoisonport
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
#!/bin/sh | |
lsof -n -i4TCP:$1 | grep LISTEN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment