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

📄 mv.1

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 1
字号:
.\" SCCSID: @(#)mv.1	8.1	9/11/90.TH mv 1.SH Namemv \- move or rename files.SH Syntax.B mv[\fB\-i\fR] [\fB\-f\fR\|] [\fB\-\fR] \fIfile1 file2\fR.PP.B mv[\fB\-i\fR] [\fB\-f\fR\|] [\fB\-\fR] \fIfile... directory\fR.SH Description.NXR "mv command" .NXR "file" "moving".NXR "file" "renaming"The.PN mvcommandmoves (changes the name of).I file1to.IR file2 ..PPIf.I file2already exists, it is removed before.I file1is moved. When you are using .PN mvfrom a terminal, and you do not have write permission on .IR file2 ,the .PN mvcommand prompts for confirmation before overwriting the file.For further information, see .MS chmod 2 ..PPIn the second form, one or more.I files(plain files or directories) are moved to the.I directorywith their original file-names..PPThe.PN mvcommand refuses to move a file onto itself..SH Options.IP \fB\-\fR 5Interprets all following arguments as file names to allow file names starting witha minus.  .IP \fB\-f\fR Force. This option overrides any mode restrictions or the\-i switch..IP \fB\-i\fR Interactive mode. Whenever a move is to supercede anexisting file, the user is prompted by the name of the filefollowed by a question mark. If he answers with a line startingwith 'y', the move continues. Any other reply prevents the move fromoccurring..SH RestrictionsIf.I file1and.I file2lie on different file systems,.PN mvmust copy the file and delete the original.In this case the owner name becomes that of the copying process and anylinking relationship with other files is lost..SH See Alsocp(1), ln(1)

⌨️ 快捷键说明

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