操作系统设计与实现源码

源代码在线查看: mv.1

软件大小: 53270 K
上传用户: x395450030
关键词: 操作 系统设计 源码
下载地址: 免注册下载 普通下载 VIP

相关代码

				.TH MV 1				.SH NAME				mv \- move or rename a file				.SH SYNOPSIS				\fBmv [\fB\-ifsmvx\fR] \fIfile1 file2\fR				.br				\fBmv [\fB\-ifsvx\fR] \fIfile\fR ... \fIdirectory\fR				.br				.de FL				.TP				\\fB\\$1\\fR				\\$2				..				.de EX				.TP 20				\\fB\\$1\\fR				# \\$2				..				.SH OPTIONS				.FL "\-i" "Prompt before removing existing files"				.FL "\-f" "Do not prompt before removing existing files"				.FL "\-s" "Do not clear any mode bits if owner can't be set"				.FL "\-m" "Merge directory trees"				.FL "\-v" "Tell what mv is doing"				.FL "\-x" "Do not cross device boundaries"				.SH EXAMPLES				.EX "mv oldname newname" "Move \fIoldname\fP to \fInewname\fP"				.EX "mv file1 file2 /user/ast" "Move two files to \fI/user/ast\fP"				.SH DESCRIPTION				.PP				.I Mv				moves one or more files from one place in the file system to another.				If the old path and new path are on the same device, it is done by renaming				otherwise by copying. If you're not superuser, the copy will destroy the				file's owner, group and setuid/setgid bits.				.I mv				will prompt before removing non-writable files if \fBstdin\fR is a terminal				or the \fB\-i\fR flag was specified.				.SH "SEE ALSO"				.BR cp (1),				.BR rename (2).							

相关资源