• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

arp: command not found

by admin

arp stands for Address Resolution Protocol, and it is used to map the MAC addresses of devices (globally unique identifying number) to IPs. Computers contain an ARP table that maps MAP and IP addresses. To view all entries in the table, run the following command:

$ arp -a

If you get below error while running arp:

arp: command not found

You may need to install the net-tools package according to your choice of distribution.

Distribution Command
Debian apt-get install net-tools
Ubuntu apt-get install net-tools
Alpine apk add net-tools
Arch Linux pacman -S net-tools
Kali Linux apt-get install net-tools
CentOS yum install net-tools
Fedora dnf install net-tools
Raspbian apt-get install net-tools
Docker docker run cmd.cat/arp arp

arp Example

1. Show current arp table:

$ arp -a

2. Clear the entire cache:

$ arp -a -d

3. Delete a specific entry:

$ arp -d address

4. Create an entry:

$ arp -s address mac_address

Filed Under: Linux

Some more articles you might also be interested in …

  1. “git merge-repo” Command Examples
  2. poweroff Command Examples in Linux
  3. joe Command Examples
  4. Time to live exceeded ping error
  5. How to Replace a Failed Btrfs Device
  6. emerge Command Examples in Gentoo Linux
  7. RHEL 7 – RHCSA Notes – vi/vim editor
  8. git cat-file: Provide content or type and size information for Git repository objects
  9. fusermount: Mount and unmount FUSE filesystems
  10. acyclic – Make a directed graph acyclic by reversing some edges (Command Examples)

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright