LinuxCommandLibrary

wipeclean

Securely erase data from block devices

TLDR

Clear the terminal screen

$ wipeclean
copy

Set the animation speed in frames per second (defaults to 150)
$ wipeclean --speed [speed]
copy

SYNOPSIS

wipeclean [options]

PARAMETERS

-v
    Verbose output. Shows more detailed information during the wiping process.

-i
    Specify the number of iterations (passes) to perform. More iterations generally result in a more secure wipe but take longer.

-m
    Select the wiping method. Common methods include zeroing, random data, DoD 5220.22-M, and Gutmann. See additional section for details.

-f
    Force. Bypass certain safety checks and prompts. Use with extreme caution.


    The target device (e.g., /dev/sda) or file to be wiped.

DESCRIPTION

The `wipeclean` command is a utility designed to securely erase data from storage devices, partitions, or files. It achieves this by overwriting the target data multiple times with various patterns, making it extremely difficult, if not impossible, to recover the original information.
This is a critical function when decommissioning hardware, donating computers, or selling storage devices, as it prevents sensitive data from falling into the wrong hands.
`wipeclean` is a command line tool intended for advanced users familiar with disk management and data security practices. Using it incorrectly can lead to data loss; therefore, caution is essential. It is commonly installed as part of a wider set of security tools within a Linux distribution. It typically offers various wiping methods, allowing the user to balance speed and security based on their specific needs.

CAVEATS

WARNING: Using `wipeclean` incorrectly can result in permanent data loss. It is crucial to double-check the target device before running the command. Backups are highly recommended. Running on the incorrect drive can render the system unbootable.

WIPING METHODS

The `-m` option specifies the wiping method. Common options include:
Zeroing: Overwrites the target with zeros.
Random Data: Overwrites the target with random data.
DoD 5220.22-M: A military standard that specifies multiple overwrites with different patterns.
Gutmann: A more thorough method involving 35 passes with various patterns.

HISTORY

The specific origins and development history of the `wipeclean` command are not easily documented in a centralized location like a standard Linux manual page. `wipeclean` often arises as part of customized toolsets within specific Linux distributions or security-focused software packages. Its adoption varies depending on the security needs and practices within different organizations and communities. It addresses the fundamental need to securely erase data, which has existed since the inception of computer storage.

SEE ALSO

shred(1), dd(1)

Copied to clipboard