Bash - Overwrite a file to hide its contents, and optionally delete it.

# Overwrite the data of file1.txt, file2.jpg, and file3.doc using the default shredding methods. shred file1.txt file2.jpg file3.doc # Same as above, but also delete those three files, freeing up that space on the disk for later use. shred -u file1.txt file2.jpg file3.doc

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.