Securely destroy/wipe data on hard drives with shred

To overwrite a partition or hard drive, two examples:

shred -vfuz -n 10 /dev/md1

shred -vfuz -n 10 /dev/sda

-v: show progress

-f: change permissions to allow writing if necessary

-u: truncate and remove file after overwriting (to shred occupied space with files)

-z: add a final overwrite with zeros to hide shredding

-n: overwrite N times instead of the default (3)

So this would overwrite /dev/sda5 ten times.


This entry was posted in Uncategorized and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s