sdparm

Output and modify SCSI device parameters

Install

All systems
curl cmd.cat/sdparm.sh
Debian Debian
apt-get install sdparm
Ubuntu
apt-get install sdparm
Arch Arch Linux
pacman -S sdparm
image/svg+xml Kali Linux
apt-get install sdparm
CentOS
yum install sdparm
Fedora
dnf install sdparm
Windows (WSL2)
sudo apt-get update sudo apt-get install sdparm
Raspbian
apt-get install sdparm

sdparm

Output and modify SCSI device parameters

The sdparm utility outputs and in some cases modifies SCSI device parameters. It can be used to output and modify parameters on any device that uses a SCSI command set. Apart from SCSI disks, such devices include CD/DVD drives (irrespective of transport), SCSI and ATAPI tape drives and SCSI enclosures.