News for hackers. Stuff that matters.
Re:Rm does not permanently delete files by noja on Thursday May 19, 2016 @10:01AM (#11730224)
When using the terminal command rm (or DEL on Windows), files are not actually removed.

Yes they are. As a user, I see a file, type rm file, then it is gone. The file has been removed.

Yes those parts of that file are possibly recoverable back into the original file, even without much work, but the file has been removed.

Re:Rm does not permanently delete files by maze-le on Thursday May 19, 2016 @10:21AM (#11730376)
The file, yes, but not the file contents. Worst of all, if you opened the file recently with any process, there is a pretty good chance that the file-descriptor can be found in:

  /proc/
somewhere.

And with that in mind you can use a combination of lsof, grep, sed or any other tool to still read the file as it was.

Re:Rm does not permanently delete files by pritambaral on Thursday May 19, 2016 @11:02PM (#11735330)
You are correct that the file contents may remain in memory.

Neither this tool nor GNU shred nor BSD `rm -P` can do anything about it.