shred Command Examples

Overwrite files to securely delete data. More information: https://www.gnu.org/software/coreutils/manual/html_node/shred-invocation.html.

shred {{path/to/file}}

shred {{[-v|--verbose]}} {{path/to/file}}

shred {{[-z|--zero]}} {{path/to/file}}

shred {{[-n|--iterations]}} {{25}} {{path/to/file}}

shred --remove {{path/to/file}}

shred {{[-vzun|--verbose --zero -u --iterations]}} 100 {{path/to/file}}