ip command examples in Linux

Show IP addresses associated with network devices:

ip a
ip a show enp7s0
Add additional IP address:
ip addr add dev ens160 10.0.0.10/24
Sisplay link layer information:
ip l
ip link
ip l
ip l show enp7s0
ip link set ens160 up
ip link set ens160 down
Show link statistics:
ip -s a
ip -s l
ip -s a show enp7s0
ip -s l show enp7s0
Routes:
ip route show
ip route add default via 10.0.0.1
ip a add 192.168.1.50/24 dev enp3s0
ip a del 192.168.1.50/24 dev enp3s0
Display the state of devices, addresses and routes continuously:
ip monitor
View the MAC address of the devices connected to your system:
ip n show
ip neigh show
ip neighbour