Check your MAC address on Linux

Display the hardware address of every network interface.

LinuxnetworkmacipLow risk
Run ip link show and read the link/ether value for your interface — for example ip link show wlan0 for Wi-Fi.

01Command

Command
$ ip link show | grep -E '^[0-9]+:|link/ether'

02What it does

Every network card has a fixed hardware MAC address like 3c:7a:8f:12:ab:cd, shown in the link/ether line of ip link output. This is the address a router sees when your machine joins the network, which matters for MAC filtering or DHCP reservations. Look at the interface name first (wlan0/wlp2s0 for Wi-Fi, enp*/eth0 for Ethernet), then read its address.

03Risk

RiskLow risk
!Warning: A MAC address only identifies hardware on the local network — it is not a serial number you should treat as secret, but it is how routers identify your device.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

  • ip-link(8) — Linux manual page
    man7.org · community · 2026-09-17
    Evidence: ip link show displays network interfaces including their hardware (MAC) address in the link/ether field.

Last verified: 2026-09-18 · Category: Network

06Related solutions