Skip to content

Instantly share code, notes, and snippets.

@sharat
Created June 25, 2018 21:08
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 sharat/1ea4978fcb5785f224ba310c9c8437ef to your computer and use it in GitHub Desktop.
Save sharat/1ea4978fcb5785f224ba310c9c8437ef to your computer and use it in GitHub Desktop.
List the process owns a given port
# Change 80 to your desired port.
# Use Sudo as appropriate
sudo lsof -i :80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment