Skip to content

Instantly share code, notes, and snippets.

@vancluever
Created June 9, 2021 17:59
Show Gist options
  • Save vancluever/952c187639e6778a8d067a3e35fc37e8 to your computer and use it in GitHub Desktop.
Save vancluever/952c187639e6778a8d067a3e35fc37e8 to your computer and use it in GitHub Desktop.
List open network sockets using lsof on MacOS
#!/bin/sh
lsof -Pni
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment