Linux-Noob Forums

Full Version: Secure erse of a file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

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.