list open ports #cli #networking $ sudo ss -tulpn (mostly comes installed) $ sudo netstat -tulpn (needs net-tools)