Instantly share code, notes, and snippets.
Listing Open Ports That Are Listening for Incoming Connection
$ sudo lsof -i -P | grep -i "listen"