Rm does not permanently delete files
medium.com
Rm does not permanently delete files
1–10 of 55 posts
Re: Rm does not permanently delete files
#2Re: Rm does not permanently delete files
#3Re: Rm does not permanently delete files
#4Re: Rm does not permanently delete files
#5Re: Rm does not permanently delete files
#6Also, as another commenter already pointed out, this kind of in-place overwrite is not guaranteed to work on SSDs, and it's also not guaranteed to work on filesystems with copy-on-write semantics. If you're really concerned with this, you should be doing full-disk encryption.
Re: Rm does not permanently delete files
#7Re: Rm does not permanently delete files
#8Defaulting to "rm -rf *" makes me imagine what could possibly go wrong.
Re: Rm does not permanently delete files
#9This functionality already exists in GNU coreutils, it's done by the shred(1) command. No need to install any extra third-party software, shred is already installed. Also, as another commenter already pointed out, this kind of in-place overwrite is not guaranteed to work on SSDs, and it's also not guaranteed to work on filesystems with copy-on-write semantics. If you're really concerned with this, you should be doing…
Re: Rm does not permanently delete files
#10This functionality already exists in GNU coreutils, it's done by the shred(1) command. No need to install any extra third-party software, shred is already installed. Also, as another commenter already pointed out, this kind of in-place overwrite is not guaranteed to work on SSDs, and it's also not guaranteed to work on filesystems with copy-on-write semantics. If you're really concerned with this, you should be doing…
That's only true for GNU-based userlands, not BSD-based ones.
> Also, as another commenter already pointed out, this kind of in-place overwrite is not guaranteed to work on SSDs
And if the system properly TRIMs it might not be necessary at all, though that greatly depends on the SSD.