nci_ba
Last Updated: December 26, 2018
·
1.237K
· maxime

One-liner to test your drive speed

Always useful, time</code> in Unix along with dd</code> to randomly write on your HDD or SSD.

time dd if=/dev/zero bs=1024k of=tstfile count=1024

And it works to test read speed too:

time dd if=tstfile bs=1024k of=/dev/null count=1024

Via <a href="http://www.cultofmac.com/180131/find-out-how-fast-your-ssd-or-hard-drive-really-is-os-x-tips/">Cult of Mac</a>