HostOnNet Blog

netstat

netstat allows you to view all tcp connection on your system.

netstat -an

To see all LISTENING ports, run

netstat -an | grep LISTEN

Posted in Linux