blob: 9ed0441004d1ece8c718160d5d14c476379418cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# General file operations and utilities
## `shred`
Overwrites a file repeatedly with random data, to prevent data recovery.
* `-z`: zeroes out at the end
* `-n <N>`: does `N` iterations (deafults to only 3)
* `-u`: deallocates and removes file
So a common usage:
shred -zun100 <file>
|