Posted By

bhubbard on 06/04/09


Tagged

delete secure shred overwrite


Versions (?)

Securely delete/overwrite a file


 / Published in: Bash
 

  1. #Securely delete a file called /home/vivek/login.txt:
  2. shred -u ~/login.txt
  3.  
  4. #You can add a final overwrite with zeros to hide shredding:
  5. shred -u -x ~/login.txt

Report this snippet  

You need to login to post a comment.