there is the whole recovery applications and commands . I actually need to delete some sensitive data permanently so nobody can access it anymore , no matter what application they use or commands they carry on , any help ??
2 Answers
There is no completely safe method except to destroy the hard disk drive completely (physically). But for most cases it should be enough to use DBAN to overwrite the drive.
You have to make a fresh installation after that, and you may want to use 'encrypted disk' alias LVM with encryption. An encrypted system is difficult to recover, so please back it up at regular intervals, and use a good passphrase, that you can remember, but other people cannot guess.
- 47,684
See the shred command (and its man page for more info). For example, this truncates, overwrites, and then removes a file called writing.txt:
shred -uvz writing.txt
Update: Thanks to Andrius for the comment about modern filesystems. According to the GNU page on shred, the utility makes some assumptions about how filesystems work, and modern filesystems that use journaling could be problematic for shred. The GNU page notes, as a workaround, that it is probably more secure to use shred to shred a device, but even this is not a guarantee. Read more here:
https://www.gnu.org/software/coreutils/manual/html_node/shred-invocation.html
The EFF has a how-to page, with some additional information, on using BleachBit to securely delete data on Linux:
https://ssd.eff.org/en/module/how-delete-your-data-securely-linux
- 21