Thursday, October 22, 2009

shred a File - Ubuntu 9.04 Jaunty

Computer files containing sensitive information should also be 'shredded'. There is a command line utility on Linux systems called 'shred' that overwrites the file multiple times with random output. If you simply erase a file with 'rm', this only tells the operating system that this part of your hard disk is free for use, but the information still exists until that space is overwritten. Information from a file that has been deleted can still be recovered unless it has been 'shred', making it nearly impossible to recover.

The following command will shred a file, "zero" it (to hide shredding) and then remove it.

user@machine:~$ shred -zuv sensative.file

~Fin

No comments:

Post a Comment