sg_read
utilities for devices using the SCSI command set
Install
- All systems
-
curl cmd.cat/sg_read.sh
- Debian
-
apt-get install sg3-utils
- Ubuntu
-
apt-get install sg3-utils
- Alpine
-
apk add sg3_utils
- Arch Linux
-
pacman -S sg3_utils
- Kali Linux
-
apt-get install sg3-utils
- CentOS
-
yum install sg3_utils
- Fedora
-
dnf install sg3_utils
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install sg3-utils
- Raspbian
-
apt-get install sg3-utils
- Dockerfile
- dockerfile.run/sg_read
- Docker
-
docker run cmd.cat/sg_read sg_read
powered by Commando
sg3-utils
utilities for devices using the SCSI command set
Most OSes have SCSI pass-through interfaces that enable user space programs to send SCSI commands to a device and fetch the response. With SCSI to ATA Translation (SAT) many ATA disks now can process SCSI commands. Typically each utility in this package implements one SCSI command. See the draft standards at www.t10.org for SCSI command definitions plus SAT. ATA commands are defined in the draft standards at www.t13.org . For a mapping between supported SCSI and ATA commands and utility names in this package see the COVERAGE file.