Skip to content

Instantly share code, notes, and snippets.

@matthewmueller
Created November 6, 2012 00:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewmueller/4021689 to your computer and use it in GitHub Desktop.
Save matthewmueller/4021689 to your computer and use it in GitHub Desktop.
Get the process running on a given port
## 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