hp-search-mac command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
hp-search-mac: command not found
or when using sudo you get the following error message
sudo: hp-search-mac: command not found
Solutions to hp-search-mac: command not found
How To Fix hp-search-mac: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu hp-search-mac is provided by hp-search-mac package.
hp-search-mac is:
This package contains a small utility that can query HP switches for their connection table. It then allow you to search for a MAC address and tell you where it is physically connected (best match first).
The functionality is similar to traceroute but on Ethernet level and only for HP switches.
To fix this problem, we can install more using the command below.
sudo apt-get -y install hp-search-mac
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install hp-search-mac.
sudo apt -y install hp-search-mac
Or if you have aptitude installed you can use the following command.
sudo aptitude install hp-search-mac
Summary
In this tutorial we learn how to fix hp-search-mac command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.