Revision of Wipe Out Files and Partitions from Tue, 02/11/2014 - 01:19

The revisions let you track differences between multiple versions of a post.

Why do wipe out files?

(needs writing)

Tools

There are several tools to achieve this.

On Command Line:

  • shred
  • rm

On GUI:

Wiping out files and partitions

Wiping out files thru command line

To wipe out a file you can use the following command:

$ shred -f -nM -v -z -u file
Where: -f forces to averwrite, -nM overwrites it M times, -v shows you what's going on, -z fills with zero, -u removes the file after overwriting it, file is the name of the file.

To wipe out a partition you can use the following command:

$ shred -f -nM -v -z /dev/sdX
Where: -f forces to overwrite, -nM overwrites it M times, -v shows you what's going on, -z fills with zero, X the letter of the drive.

If the above does not work, you can try with sudo.

Wiping out files thru GUI

(needs writing)

Revisions

02/07/2014 - 21:47
antiesnob
08/10/2014 - 23:10
a_slacker_here
09/17/2016 - 16:39
SuperTramp83
09/17/2016 - 17:00
Mangy Dog
04/18/2024 - 15:12
knife