Listing open ports on MacOS

I used to use netstat, but this command outputs a really clean status:

sudo lsof -PiTCP -sTCP:LISTEN

If this post helped you, please consider supporting me. Buy Me A Coffee

Buy Me A Coffee
If this article helped you, please consider buying me a coffee. :)