Skip to content

Instantly share code, notes, and snippets.

@elijahboston
Created August 16, 2019 19:33
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 elijahboston/2f5c0ef111898731ffb07db313b23a08 to your computer and use it in GitHub Desktop.
Save elijahboston/2f5c0ef111898731ffb07db313b23a08 to your computer and use it in GitHub Desktop.
# Find out what's running on the given port
# > onport 8080
function onport() {
lsof -w -n -i tcp:${1}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment