Networking Commands
Show networking information
show current networking configuration and status
ip a
Show IPv4 or IPv6 specifically
ip -4 a
ip -6 a
show network interfaces
ip l
show configuration for a specific interface
ip a s interfacename
show route table
ip r
show arp cache
ip n
Changing networking information
Add an IP address to an interface:
ip a a IPADDRESS dev interfacename