?? rm.1
字號:
.TH RM 1 .SH NAMErm, rmdir \- remove (unlink) files.SH SYNOPSIS.B rm[.B \-fri] file ....PP.B rmdirdir ....PP.SH DESCRIPTION.I Rmremoves the entries for one or morefilesfrom a directory.If an entry was the last link to the file, the fileis destroyed.Removal of a file requires write permission in its directory,but neither read nor write permission on the file itself..PPIf a file has no write permissionand the standard input is a terminal,its permissions are printed and a line is read fromthe standard input.If that line begins with `y' the file is deleted,otherwise the file remains.No questions are askedwhen the.B \-f(force) option is given..PPIf a designated file is a directory,an error comment is printed unless the optionalargument.B \-rhas been used.In that case,.I rmrecursively deletes theentire contents of the specified directory,and the directory itself..PPIf the.B \-i(interactive) option is in effect,.I rmasks whether to delete each file,and, under.BR \-r ,whether to examine each directory..PP.I Rmdirremoves entries for the named directories,which must be empty..SH "SEE ALSO"unlink(2).SH DIAGNOSTICSGenerally self-explanatory.It is forbidden to remove the file `..' merely to avoid theantisocial consequences of inadvertently doing something like`rm \-r .*'.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -