$netstat
Print network connections, routing tables, interface statistics, and listening ports.
netstat [OPTIONS]Essayer en direct dans le bac à sable interactif
Simulation côté client sans installation avec retour instantané.
Aperçu et fonctionnement
`netstat` (Network Statistics) provides comprehensive visibility into incoming and outgoing network connections, listening TCP/UDP ports, routing tables, and interface metrics.
Options et drapeaux courants
| 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. |
Exemples pratiques du monde réel
netstat -tulnLists all open TCP and UDP ports in numeric format.
Commandes Linux associées
Transférer des données depuis ou vers un serveur via HTTP, HTTPS et 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.