lsscsi

List SCSI devices (or hosts) and their attributes. More information: <https://manned.org/lspci>.

Install

All systems
curl cmd.cat/lsscsi.sh
Debian Debian
apt-get install lsscsi
Ubuntu
apt-get install lsscsi
Alpine
apk add lsscsi
Arch Arch Linux
pacman -S lsscsi
image/svg+xml Kali Linux
apt-get install lsscsi
CentOS
yum install lsscsi
Fedora
dnf install lsscsi
Windows (WSL2)
sudo apt-get update sudo apt-get install lsscsi
Raspbian
apt-get install lsscsi
Docker
docker run cmd.cat/lsscsi lsscsi powered by Commando

List SCSI devices (or hosts) and their attributes. More information: <https://manned.org/lspci>.

  • List all SCSI devices:
    lsscsi
  • List all SCSI devices with detailed attributes:
    lsscsi -L
  • List all SCSI devices with human-readable disk capacity:
    lsscsi -s

© tl;dr; authors and contributors