If you want to destroy all data on a device use the following command. shred is part of the coreutils package.

/usr/bin/shred -v -f /dev/sda

Data destroyed by shred can’t be restored unless you invest a lot of time and use special equipment. Use with caution.

The option -n can be used to increase the amount of iterations (default: 3).