Linux Network Commands

Routing

netstat -rn

Legacy command for network status, show routes, and numeric display

route -n

a route command all to itself

Instead, now we have the ip set of commands.

Or

IP address

ip address

and for IP version 4 (IPv4)

ip -4 address

Network Manager Command Line

sudo nmcli connection show