Files
dotfiles/bin/diskspeedtest
T
2026-11-17 18:15:16 +07:00

12 lines
142 B
Bash

#!/usr/bin/env sh
HD=$1
if [[ "$1" == "-h" ]] || [[ "$1" == "--help" ]]; then
echo "usage: $0 [HD]"
exit 0
fi
sudo hdparm -Tt $HD