O comando shred é uma aplicação que possibilita que você delete arquivos de forma segura. Ele impossibilita a recuperação.
Suas flags de comando são:
- -f changes permissions to allow writing if needed
- -n (iterations=N) overwrites N times instead of the default (3)
- -s (size=N) specifies the number of bytes to shred
- -u truncates and removes files after overwriting
- -v shows verbose information about the progress
- -x does not round file sizes up to the next full block
- -z adds a final overwrite with zeros to hide shredding
- -u removes the file after overwriting
Exemplo de comando:
shred -u fileABC.text file2.doc file3.jpg