1. Network Management

Prerequisites

Before working with Linux networking, you should understand basic networking concepts:


Viewing Network Interfaces

Command: ip link show

Lists all network interfaces with their MAC addresses and status.

ip link show

Output includes:

Command: ip address show (or ip addr show)

Shows interfaces with their IP addresses.

ip address show
ip addr show           # shortened form
ip a s                 # further abbreviated
ip a                   # shortest form

Can also be abbreviated like Cisco CLI: ip addr sh or ip a s

Command: ifconfig (older tool)

ifconfig               # shows all interfaces with IPs