#apt-get install secure-delete
It will provide the following tools for secure wiping:
srm – secure remove (secure_deletion toolkit)
$srm file_name$srm -r folder_name
There is already another tool “shred” comes with “coreutils” package in Debian:
coreutils – GNU core utilities
shred – overwrite a file to hide its contents, and optionally delete it
sfill – secure free disk and inode space wiper (secure_deletion toolkit)
sswap – secure swap wiper (secure_deletion toolkit)
Turn off swap first :
#swapoff -a //to turn off all swap
Now run sswap:
sdmem – secure memory wiper (secure_deletion toolkit)
There is some limitation of these tools.
Please use manual pages of individual package for details information.