please correct me if im lacking something
Refs.:
http://linoxide.com/security/delete-fil ... tly-linux/
https://www.marksanborn.net/howto/wipin ... e-with-dd/
0- Using Bleachbit (It might be enought), to clean caches and that kind of things
https://www.bleachbit.org
1- wipping / shredding speficical files, we want to be sure they wont be recover (you can use both tools methods).
- shred -vn 2 filetoerase
- wipe -qQ 2 filetoerase
2- Shredding Swap disk.:
- sudo swapoff -a (dismount swap first)
- sudo sswap -fvl /dev/sdx (clean swap partition)
- sudo swapon -a (remount swap)
3- Shredding the whole free space drive:
- sudo sfill -fvl / (root partition)
Alternative/equivalent (perhaps more insecure method, -->there's no inode space wiper with dd):
Code: Select all
dd if=/dev/zero of=zero.small.file bs=1024 count=102400
dd if=/dev/zero of=zero.file bs=1024
sync ; sleep 60 ; sync
rm zero.small.file
rm zero.file
please share your Method if you thing you've something better..