Skip to content

Instantly share code, notes, and snippets.

@skseth
Created April 2, 2023 10:31
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 skseth/569e08dacaefb31a4135428d992d625c to your computer and use it in GitHub Desktop.
Save skseth/569e08dacaefb31a4135428d992d625c to your computer and use it in GitHub Desktop.
macos - network commands

Find process listening on port

sudo lsof -i -P | grep LISTEN | grep :$PORT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment