Last active
March 18, 2024 19:14
-
-
Save andrewp-as-is/85813f11a0038867a449f1624c3a7810 to your computer and use it in GitHub Desktop.
macOS list ports #macos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
PORT=8013 | |
lsof -nP -iTCP:$PORT | grep LISTEN;: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment