This command also works (as-is) on Linux.
bash sudo netstat -nap tcp | grep -i "listen" bash
bash sudo netstat -nap tcp | grep -i "listen"
source
Date: 2018-08-07
Tags: macos
Share: