View open (listening) ports on MacOS


This command also works (as-is) on Linux.

bash sudo netstat -nap tcp | grep -i "listen" bash

source

Date: 2018-08-07

Tags:  macos

Share: