Network

The arp command

Shows the ARP table: the mapping between local IP addresses and network MAC addresses.

Syntax

arp [-a]

Most useful options

-aShows all known hosts
-d IPDeletes an entry

Copy-ready examples

$ arp -aHosts on the local network

You can try them in the browser terminal: it does not touch your computer.

Typical mistakes

  • The table fills itself as you talk to other hosts; it can be empty at first.

Related commands

FAQ

What is a MAC address?

The unique physical identifier of each network card.

Learn to actually use it

The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.

Start the free course