📄 shred.1
字号:
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.28..TH SHRED "1" "July 2002" "shred (fileutils) 4.1.10" "User Commands".SH NAMEshred \- delete a file securely, first overwriting it to hide its contents.SH SYNOPSIS.B shred[\fIOPTIONS\fR] \fIFILE \fR[...].SH DESCRIPTION.\" Add any additional description here.PPOverwrite the specified FILE(s) repeatedly, in order to make it harderfor even very expensive hardware probing to recover the data..PPMandatory arguments to long options are mandatory for short options too..TP\fB\-f\fR, \fB\-\-force\fRchange permissions to allow writing if necessary.TP\fB\-n\fR, \fB\-\-iterations\fR=\fIN\fROverwrite N times instead of the default (25).TP\fB\-s\fR, \fB\-\-size\fR=\fIN\fRshred this many bytes (suffixes like K, M, G accepted).TP\fB\-u\fR, \fB\-\-remove\fRtruncate and remove file after overwriting.TP\fB\-v\fR, \fB\-\-verbose\fRshow progress.TP\fB\-x\fR, \fB\-\-exact\fRdo not round file sizes up to the next full block.TP\fB\-z\fR, \fB\-\-zero\fRadd a final overwrite with zeros to hide shredding.TP-shred standard output.TP\fB\-\-help\fRdisplay this help and exit.TP\fB\-\-version\fRoutput version information and exit.PPDelete FILE(s) if \fB\-\-remove\fR (-u) is specified. The default is not to removethe files because it is common to operate on device files like /dev/hda,and those files usually should not be removed. When operating on regularfiles, most people use the \fB\-\-remove\fR option..PPCAUTION: Note that shred relies on a very important assumption:that the filesystem overwrites data in place. This is the traditionalway to do things, but many modern filesystem designs do not satisfy thisassumption. The following are examples of filesystems on which shred isnot effective:.PP* log-structured or journaled filesystems, such as those supplied with.IPAIX and Solaris (and JFS, ReiserFS, XFS, Ext3, etc.).PP* filesystems that write redundant data and carry on even if some writes.IPfail, such as RAID-based filesystems.PP* filesystems that make snapshots, such as Network Appliance's NFS server.PP* filesystems that cache in temporary locations, such as NFS.IPversion 3 clients.PP* compressed filesystems.PPIn addition, file system backups and remote mirrors may contain copiesof the file that cannot be removed, and that will allow a shredded fileto be recovered later..SH AUTHORWritten by Colin Plumb..SH "REPORTING BUGS"Report bugs to <bug-fileutils@gnu.org>..SH COPYRIGHTCopyright \(co 2002 Free Software Foundation, Inc..brThis is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE..SH "SEE ALSO"The full documentation for.B shredis maintained as a Texinfo manual. If the.B infoand.B shredprograms are properly installed at your site, the command.IP.B info shred.PPshould give you access to the complete manual.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -