del a file

moma ulist at gs1.ubuntuforums.org
Mon Jul 31 16:41:18 UTC 2006


$ sudo rm your_file_name



But use "shred" if you want to delete a file so it's definitely
unrecoverable.



* SHRED = Delete files in a very secure manner.



$ shred  your_file_name. 

(scrambles, overwrites the file content, but will not delete the file
itself) 



$ shred  -u your_file_name	

(overwrites the file content, deletes it too. The file is virtually
impossible to recover) 



$ man shred


-- 
moma




More information about the ubuntu-users mailing list