nwipe - Man Page

securely erase disks


nwipe [options] [device1] [device2] ...


nwipe is a command that will securely erase disks using a variety of recognised methods.  It is a fork of the dwipe command used by Darik's Boot and Nuke (dban).  nwipe is included with partedmagic if you want a quick and easy bootable CD version.  nwipe was created out of a need to run the DBAN dwipe command outside of DBAN, in order to allow its use with any host distribution, thus giving better hardware support.  It is essentially the same as dwipe, with a few changes:

- pthreads is used instead of fork

- The parted library is used to detect drives

- The code is designed to be compiled with gcc

- SIGUSR1 can be used to log the stats of the current wipe


-V, --version

Prints the version number

-h, --help

Prints a help summary


If no devices have been specified on the command line, starts wiping all devices immediately. If devices have been specified, starts wiping only those specified devices immediately.


Open devices in sync mode


Do not wait for a key before exiting (default is to wait).


Do not allow signals to interrupt a wipe (default is to allow).


Do not show the GUI interface. Can only be used with the autonuke option. Nowait option is automatically invoked with the nogui option. SIGUSR1 can be used to retrieve the current wiping statistics.


Whether to perform verification of erasure (default: last) off   - Do not verify last  - Verify after the last pass all   - Verify every pass

-m, --method=METHOD

The wiping method (default: dodshort).

dod522022m / dod       - 7 pass DOD 5220.22-M method

dodshort / dod3pass    - 3 pass DOD method

gutmann                - Peter Gutmann's Algorithm

ops2                   - RCMP TSSIT OPS-II

random / prng / stream - PRNG Stream

zero / quick           - Overwrite with zeros

-l, --logfile=FILE

Filename to log to. Default is STDOUT

-p, --prng=METHOD

PRNG option (mersenne|twister|isaac)

-r, --rounds=NUM

Number of times to wipe the device using the selected method (default: 1)


Please see the GitHub site for the latest list (https://github.com/martijnvanbrummelen/nwipe/issues)


Nwipe is developed by Martijn van Brummelen <github@brumit.nl>

See Also

shred(1), dwipe(1), dd(1), dcfldd(1), dc3dd(1)


September 2019 nwipe version 0.26