The netstat (network statistics) command is a command-line utility used to troubleshoot and monitor network connections, routing tables, and interface statistics on Windows, Linux, and macOS. It displays active TCP/UDP connections, open ports, and listening services to identify network issues. Common uses include viewing listening ports (-l), numerical addresses (-n), and PID/programs (-p). #tools cli #enumerration postexploitation