Writes Junk Onto a Hard Drive
~ $
dd if=/dev/random of=/dev/sda
Description
dd – Perform low-level copying from one location to another.
if=/dev/random – Use /dev/random (random data) as the input – you may also see locations such as /dev/zero (zeros).
of=/dev/sda – Output to the first hard disk, replacing its file system with random garbage data.