LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Difference between the rm and shred in linux (https://www.linuxquestions.org/questions/linux-newbie-8/difference-between-the-rm-and-shred-in-linux-649436/)

rayudu1983 06-15-2008 10:44 AM

Difference between the rm and shred in linux
 
I am new to linx.Please provide me clear differnce.
"Difference between the shred and rm in linux"

jtshaw 06-15-2008 11:24 AM

Rm just calls unlink which "deletes the file" but doesn't actually do anything to the data on disk, it just frees the inode. Shred continually overwrites the file data and then optionally deletes it. Shreds purpose is to protect against somebody being able to recover your data.

jtshaw 06-15-2008 11:28 AM

For more info:

man shred
man rm


All times are GMT -5. The time now is 11:50 PM.