Unix Linux Securely Wipe Disk on Linux Tips of Linux Erasing Disk Using shred Command 1 2 3 4 5 $ sudo shred -v /dev/sdb $ sudo shred -v -n 1 /dev/sdb $ sudo shred -v -n 1 --random-source=/dev/urandom -z /dev/sdb -v --verbose -n --iterations= Erasing Disk Using wipe Command 1 $ sudo wipe /dev/sdb Erasing Disk Using dd Command 1 2 3 $ sudo dd if=/dev/urandom of=/dev/sdb bs=512 status=progress $ sudo dd if=/dev/urandom of=/dev/sdb bs=4096 status=progress