RM.1
上传用户:jnzhq888
上传日期:2007-01-18
资源大小:51694k
文件大小:1k
- .TH RM 1
- .SH NAME
- rm - remove a file
- .SH SYNOPSIS
- fBrmfR [fB-ifrRvxfR] fInamefR ...fR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH OPTIONS
- .FL "-i" "Interactive remove: ask before removing"
- .FL "-f" "Forced remove: no questions asked"
- .FL "-rR" "Remove directories and their contents"
- .FL "-v" "Tell what rm is removing"
- .FL "-x" "Do not cross device boundaries"
- .SH EXAMPLES
- .EX "rm file" "Remove fIfilefR"
- .EX "rm -i *.c" "Remove fI.cfP files, asking about each"
- .SH DESCRIPTION
- .PP
- .I Rm
- removes one or more files.
- If a file has no write permission,
- .I rm
- asks for permission (type &'y&' or &'n&') unless fB-ffR
- is specified.
- If the file is a directory, it will be recursively descended and removed
- if and only if the fB-RfR flag is present.
- .SH "SEE ALSO"
- .BR cp (1),
- .BR mv (1),
- .BR rmdir (1),
- .BR unlink (2),
- .BR rmdir (2).