Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Jul 152011

Delete files permanently with shred command


Sometimes we might need to delete files and don't want it can be recovered.

To do so, use the shred command.

# shred -v -n 10 -u -z test.txt

The above command will overwrite the file 10 times before deleting it.

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>