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

📄 rm.1

📁 UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱昂氏unix源代码分析都是用的该版
💻 1
字号:
.th RM I 1/20/73.sh NAMErm  \*- remove (unlink) files.sh SYNOPSIS.bd rm[.bd \*-f] [.bd \*-r] name ....sh DESCRIPTION.it Rmremoves the entries for one or more files from 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..s3If a file has no write permission,.it rmprints the file name and its mode, thenreads a line from the standard input.If the line begins with \fBy\fR, the file is removed,otherwise it is not.The question is not asked ifoption.bd \-fwas given or if the standard input is not a typewriter..s3If a designated file is a directory,an error comment is printed unless the optionalargument.bd \*-rhas been used.In that case,.it rmrecursively deletes theentire contents of the specified directory.To remove directories \fIper se\fR see rmdir(I)..sh FILES/etc/glob to implement the.bd \*-rflag.sh "SEE ALSO"rmdir (I).sh BUGSWhen.it rmremoves the contents of a directory under the.bd \*-rflag, full pathnames are not printed in diagnostics.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -