Logo
Web01
Ch4os1@web01:~/commands/netstat
← View all bash commands

netstat

netstat - Print network information on the system.

Examples

netstat -a
              

Display all active connections and listening ports.

netstat -r
              

Display the routing table.

Notes

This command affects only the current shell session.