Shred

From Linuxintro
Revision as of 08:06, 16 July 2011 by imported>ThorstenStaerk
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Shred destroys all data on a disk. The challenge is: If you have a magnetic disk and write zeroes all over the disk to destroy the data, there will still be a possibility left to read this data if you are willing to put in an enormous effort. shred first overwrites all data using random data, then zeroes the disk.

Example:

shred -n 1 -z -v /dev/sdx

(One pass to shred, one pass to zero)