Created
November 6, 2012 00:55
-
-
Save matthewmueller/4021689 to your computer and use it in GitHub Desktop.
Get the process running on a given port
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
## Get the process on a given port | |
function port() { | |
lsof -i ":${1:-80}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment