If you want to destroy all data on a device use the following command.
shred is part of the
/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.
-n can be used to increase the amount of iterations (default: 3).