Berkeley r-commands: Difference between revisions

Content deleted Content added
Authentication: adding some missing daemons supporting REXEC and RCP
Fix example -- rcp example should state command as rcp, not cp
Line 55:
rcp can copy a file or directory from the local system to a remote system, from a remote system to the local system, or from one remote system to another.<ref name="Farrell">{{cite web |url=https://earthsci.stanford.edu/computing/unix/netcommands/rcp.php |title=rcp |last=Farrell |first=Phillip |date=3 August 2004 |website=earthsci.stanford.edu |publisher=Stanford University School of Earth, Energy & Environmental Sciences |access-date=2018-03-06}}</ref> The command line [[Parameter (computer programming)|arguments]] of cp and rcp are similar, but in rcp remote files are prefixed with the name of the remote system:
 
cprcp file.txt subdomain.___domain:~/home/foo/file.txt
 
As with the Unix copy command [[cp (Unix)|cp]], rcp overwrites an existing file of the same name in the target; unlike cp, it provides no mechanism for warning the user before overwriting the target file.<ref name="Farrell"/> Like rsh, rcp uses TCP port 514.<ref>{{cite web |url=http://sourcedaddy.com/networking/rlogin-rsh-and-rcp.html |title=Rlogin, RSH, and RCP |website=SourceDaddy |access-date=2018-02-18}}</ref>