netstat do?show network connections, routing tables, and interface stats.
▸ Explain your own netstat command →$ netstat -tulpn
$ netstat -rn
| -t | TCP connections |
| -u | UDP connections |
| -l | only listening sockets |
| -p | show the PID and program name for each socket |
| -n | numeric output — don't resolve hosts, ports, or users |
| -a | all sockets (listening and non-listening) |
| -r | show the kernel routing table |
| -e | extended information |
| -s | per-protocol summary statistics |
| -c | continuously refresh the display |
Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.