shred <FILE...>

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

Arguments

NameDescription
FILEFile(s) to shred

Options

NameDescription
--force, -fChange permissions to allow writing if necessary
--iterations, -n <N>Overwrite N times instead of the default (3)
--random-source <FILE>Get random bytes from FILE
--size, -s <N>Shred this many bytes (suffixes like K, M, G accepted)
--remove <HOW>Like -u but give control on HOW to delete
--verbose, -vShow progress
--exact, -xDo not round file sizes up to the next full block; this is the default for non-regular files
--zero, -zAdd a final overwrite with zeros to hide shredding
--helpDisplay this help and exit
--versionOutput version information and exit