LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

lsscsi

lists SCSI devices and their attributes

TLDR

List all SCSI devices
$ lsscsi
copy
Show disk capacities
$ lsscsi -s
copy
Show detailed attributes
$ lsscsi -L
copy
Show transport information (SAS, SATA, USB, etc.)
$ lsscsi -t
copy
List SCSI hosts
$ lsscsi -H
copy
Show generic device names (sg*)
$ lsscsi -g
copy

SYNOPSIS

lsscsi [OPTIONS]

DESCRIPTION

lsscsi lists SCSI devices (including SATA disks through libata) and their attributes. It provides information about device type, vendor, model, and device node paths.

PARAMETERS

-L, --list

List attributes in key=value format
-s, --size
Show disk capacity in human-readable format
-g, --generic
Show generic SCSI device name (sg*)
-H, --hosts
List SCSI hosts instead of devices
-l, --long
Output additional information
-c, --classic
Classic output format (similar to lsscsi 0.21)
-d, --device
Show device major and minor numbers
-t, --transport
Show transport information

INSTALL

sudo apt install lsscsi
copy
sudo dnf install lsscsi
copy
sudo pacman -S lsscsi
copy
sudo apk add lsscsi
copy
sudo zypper install lsscsi
copy
nix profile install nixpkgs#lsscsi
copy

CAVEATS

Shows devices through the Linux SCSI subsystem, which includes SATA, SAS, USB mass storage, and other devices. Some virtual or emulated devices may not appear.

HISTORY

lsscsi provides a human-readable view of the kernel's SCSI device information from sysfs.

SEE ALSO

lsblk(8), lspci(8), lsusb(8)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid