Netstat command displays various network related information such as network connections, routing tables, interface statistics, masquerade connections, multicast memberships etc. List All Ports (both listening and non listening ports) #netstat -a root@localhost:~# netstat -a | more Active Internet connections (servers