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

📄 mv.1

📁 UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱昂氏unix源代码分析都是用的该版
💻 1
字号:
.th MV I 8/20/73.sh NAMEmv  \*-  move or rename a file.sh SYNOPSIS.bd mvname1 name2.sh DESCRIPTION.it Mvchanges the name of.it name1to.it name2.If.it name2is a directory,.it name1is moved tothat directory with its original file-name.Directories may only be moved within the same parentdirectory (just renamed)..s3If.it name2already exists,it is removed before.it name1is renamed.If.it name2has a mode which forbids writing,.it mvprints the mode andreads the standard input to obtain a line;if the line begins with.bd y,the move takes place;if not,.it mvexits..s3If.it name2would lie on a different file system,so that a simple rename is impossible,.it mvcopies the fileand deletes the original..sh BUGSIt should take a.bd "\*-f"flag, like.it rm,to suppress the questionif the target exists and is not writable.

⌨️ 快捷键说明

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