netstat
Display network connections, routing tables, and interface stats.
Syntax
$netstat [OPTIONS]
Examples
Examples
$netstat -tuln
Examples
$netstat -r
Typical use cases
netstat -tuln
netstat -r
Note
Legacy tool. Prefer ss for sockets and ip route for routing on modern systems.
Export