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

📄 rcp.1

📁 操作系统设计与实现源码
💻 1
字号:
.\" Copyright (c) 1983 Regents of the University of California..\" All rights reserved.  The Berkeley software License Agreement.\" specifies the terms and conditions for redistribution..\".\"	@(#)rcp.1c	6.4 (Berkeley) 5/12/86.\".TH RCP 1 "May 12, 1986".UC 5.SH NAMErcp \- remote file copy.SH SYNOPSIS.B rcp.RB [ \-p ].I file1 file2.br.B rcp.RB [ \-pr ].I file\&....I directory.SH DESCRIPTION.B Rcpcopies files between machines.  Each.I fileor.I directoryargument is either a remote file name of theform ``rhost:path'', or a local file name (containing no `:' characters,or a `/' before any `:'s)..PPIf the.B \-roptionis specified and any of the source files are directories,.B rcpcopies each subtree rooted at that name; in this casethe destination must be a directory..PPBy default, the mode and owner of.I file2are preserved if it already existed; otherwise the mode of the source filemodified by the.BR umask (2)on the destination host is used.The.B \-poption causes.B rcpto attempt to preserve (duplicate) in its copies the modificationtimes and modes of the source files, ignoring the.BR umask ..PPIf.I pathis not a full path name, it is interpreted relative toyour login directory on .IR rhost .A .I pathon a remote host may be quoted (using \e, ", or \(aa)so that the metacharacters are interpreted remotely..PP.B Rcpdoes not prompt for passwords; your current local user namemust exist on.I rhostand allow remote command execution via.BR rsh (1)..PP.B Rcphandles third party copies, where neither source nor target filesare on the current machine.Hostnames may also take the form ``rname@rhost'' to use.I rnamerather than the current user name on the remote host.The destination hostname may also take the form ``rhost.rname'' tosupport destination machines that are running 4.2BSDversions of.BR rcp ..SH SEE ALSO.BR cp (1),.BR ftp (1),.BR rsh (1),.BR rlogin (1)..SH BUGSDoesn't detect all cases where the target of a copy mightbe a file in cases where only a directory should be legal..brIs confused by any output generated by commands in a\&.profile, or \&.*shrc file on the remote host.

⌨️ 快捷键说明

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