usb-devices command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
usb-devices: command not found
or when using sudo you get the following error message
sudo: usb-devices: command not found
Solutions to usb-devices: command not found
How To Fix usb-devices: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu usb-devices is provided by usbutils package.
usbutils is:
This package contains the lsusb utility for inspecting the devices connected to the USB bus. It shows a graphical representation of the devices that are currently plugged in, showing the topology of the USB bus. It also displays information on each individual device on the bus.
To fix this problem, we can install more using the command below.
sudo apt-get -y install usbutils
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install usbutils.
sudo apt -y install usbutils
Or if you have aptitude installed you can use the following command.
sudo aptitude install usbutils
Summary
In this tutorial we learn how to fix usb-devices command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.