$netstat
Print network connections, routing tables, interface statistics, and listening ports.
netstat [OPTIONS]Prueba en vivo en la terminal interactiva
Simulación del lado del cliente sin instalación y con respuesta inmediata.
Descripción general y funcionamiento
`netstat` (Network Statistics) provides comprehensive visibility into incoming and outgoing network connections, listening TCP/UDP ports, routing tables, and interface metrics.
Opciones y banderas comunes
| Flag / Option | Description |
|---|---|
| -t | Display TCP network connections. |
| -u | Display UDP network connections. |
| -l | Show only listening server sockets. |
| -p | Show the PID and program name to which each socket belongs. |
| -n | Show numerical addresses and port numbers instead of resolving hostnames. |
Ejemplos prácticos del mundo real
netstat -tulnLists all open TCP and UDP ports in numeric format.
Comandos de Linux relacionados
Transfiera datos desde o hacia un servidor de red usando HTTP, HTTPS y API REST.
Non-interactive network downloader for HTTP, HTTPS, and FTP.
Send ICMP ECHO_REQUEST to network hosts to test connectivity and latency.
Securely log into remote Linux servers and execute commands over encrypted connections.
Securely copy files and directories between hosts over SSH connection.
Fast and versatile remote and local file-copying and synchronization tool.