I have a USB hard drive of 32 GB, I want to know the time it takes to copy 1 GB of data from the USB drive. I tried using
dd if=/dev/sdb1 of=/dev/null
The output is this
dd if=/dev/sdb1 of=/dev/null bs=1G 28+1 records in 28+1 records out 30751983616 bytes (31 GB) copied, 331.297 s, 92.8 MB/s
is the approach used by me is correct or am I doing it wrong. I cannot use other tool, I have to use dd command only.