shred a hard drive

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

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).

This entry was posted in Debian. Bookmark the permalink.