Skip to content

Instantly share code, notes, and snippets.

@juji
Last active January 29, 2025 12:47
Show Gist options
  • Save juji/6f920e2c8e352de00282d52265fbf800 to your computer and use it in GitHub Desktop.
Save juji/6f920e2c8e352de00282d52265fbf800 to your computer and use it in GitHub Desktop.
mac list open ports
#!/bin/bash
lsof -PiTCP -sTCP:LISTEN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment