http://brunolinux.com/02-The_Terminal/Shred.html
Shred is a real powerful command . . . . much better then just deleting-- it shreds a file, or wipes a partition, so that absolutely no recovery is possible ( even those businesses specialized in data-recovery will not be able to get it back.
shred a file :
shred -n 50 -z -u secret.txt
The -n 50 means that the file "secret.txt" will be overwritten 50 times. The -z means add a final overwrite with zeros to hide the shredding. The -u makes sure the file is removed after shred is done with it.
shred a complete drive or partition :
# shred -n 50 -z /dev/hda
shred - cli tool
Late, but have answer
Sorry for being late... 32-bit Slacko5.7-1686-nonPAE-4G (the original). However.... bash was updated in my spin to 4.1.17 due to the nasties a yr or so ago. The original BASH is 4.0.1(2) IIRC. The update had to be taken from Slackware 13.37... NOT 14.0
Regards
8Geee
Regards
8Geee
Linux user #498913 "Some people need to reimagine their thinking."
"Zuckerberg: a large city inhabited by mentally challenged people."
"Zuckerberg: a large city inhabited by mentally challenged people."