lsscsi command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
lsscsi: command not found
or when using sudo you get the following error message
sudo: lsscsi: command not found
Solutions to lsscsi: command not found
How To Fix lsscsi: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu lsscsi is provided by lsscsi package.
lsscsi is:
Uses information in sysfs (Linux kernels 2.6.0 and later) to list all scsi devices (or hosts) currently attached to the system. Options can be used to control the amount and form of information provided for each device.
To fix this problem, we can install more using the command below.
sudo apt-get -y install lsscsi
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install lsscsi.
sudo apt -y install lsscsi
Or if you have aptitude installed you can use the following command.
sudo aptitude install lsscsi
Summary
In this tutorial we learn how to fix lsscsi command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.