What is Netstat?
A command-line tool that displays network connections, routing tables, and interface statistics on a system.
Netstat shows active network connections, listening ports, and network statistics. Common usage: netstat -tlnp (TCP listening ports with process info), netstat -an (all connections). Modern replacement: ss command (faster, more info).
Useful for troubleshooting connectivity issues, finding which process uses a port, and monitoring network activity. The ss command (socket statistics) is the modern replacement with better performance on systems with many connections.