Home > Linux > Linux Commands > 10 Basic Examples of Linux Netstat command – Check Ports and Connections Netstat is a command line utility that can be used to list out all the network (socket) connections on a system. It lists out all the tcp, udp socket connections and the unix socket connections. Apart from connected sockets it can also list listening sockets that are waiting for incoming connec