Listing open ports on MacOS

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

sudo lsof -PiTCP -sTCP:LISTEN