Linux-Noob Forums
Secure erse of a file - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html)
+--- Forum: Tips and Tricks (https://www.linux-noob.com/forums/forum-59.html)
+---- Forum: Filesystem Management (https://www.linux-noob.com/forums/forum-26.html)
+---- Thread: Secure erse of a file (/thread-2909.html)



Secure erse of a file - xDamox - 2005-01-16


Fedora Core series all containt a shred program

 



Code:
Usage: shred [OPTIONS] FILE [...]
Overwrite the specified FILE(s) repeatedly, in order to make it harder
for even very expensive hardware probing to recover the data.




 

to use this function issue the following command:

 



Code:
shred filename




 

by default the shredder will overwrite the file 10 times. To make the shredder shred more

than 10 times issue the following:

 



Code:
shred -n 100 filename




 

This will shred the file 100 times if you want to watch it shredding you can issue the -v argument

shown below:

 



Code:
shred -v -n 100 filename




 

Note when shredding make sure you dont need the document because once its been

shredded you cant recover it.