-
Notifications
You must be signed in to change notification settings - Fork 53
srm
Ulrich Berntien edited this page Jul 10, 2019
·
2 revisions
srm - secure file delete.
srm FILE [FILE ...]
srm is just a wrapper around shred, basically. File set writeable, overwrite, truncate and remove is configured in the wrapper function. If the srm tool is not installed the wiper tool will be used. As fallback the shell scripts set write
The argument is
- FILE: The file to overwrite and
On modern file systems the overwriting of a file does not ensure the overwriting on the disk. Data of the removed file could stay on the disk despite the overwriting attempt.
Removes the file myfile.
$ srm myfile
Removes two files.
$ srm myfileA myfileB