Skip to content

Instantly share code, notes, and snippets.

@matthewmueller
Created November 6, 2012 00:55
Show Gist options
  • Select an option

  • Save matthewmueller/4021689 to your computer and use it in GitHub Desktop.

Select an option

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