netstat
netstat is a Linux command in the Network category, rated intermediate difficulty. Displays network connections, routing tables, and interface statistics. The syntax is netstat [options]. It returns network connection status. A practical example: netstat -tuln # Listening ports netstat -anp # All connections with PIDs netstat -r # Routing table A close relative is ping, which tests network connectivity to a host by sending ICMP echo requests. A close relative is curl, which transfers data to/from a server using various protocols (HTTP, FTP, etc.). A close relative is wget, which downloads files from the internet. Supports recursive downloads. More about this category: Linux networking commands — ping, curl, wget, netstat, ss, ifconfig, and more. Configure and troubleshoot network connections. Related Network commands: ping, curl, wget, ifconfig, ip, ss, nslookup, dig. This page is part of the free Linux Reference documentation covering 304+ commands, each with syntax, options, practical examples, and a difficulty rating.