⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rm.1

📁 unix v7是最后一个广泛发布的研究型UNIX版本
💻 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 + -