RCP is a program very similar to FTP, also used to copy files
between computers. However, RCP isn't available on as many computers as
FTP and is mainly used to copy files between UNIX machines. Instead of
looking in `.netrc
' for login information, it looks in
`/.rhosts
' (just like rsh rlogin---an entry in
`/etc/hosts.equiv
' would do just as well).
RCP works just like the UNIX command cp (see Files) except that:
A command like rcp phoenix.princeton.edu:intro.texi /tmp/
would copy the file `intro.texi
' from Phoenix (on main campus)
to the local file `/tmp/intro.texi
'. By switching the
arguments around, i.e. rcp intro.texi phoenix.prinecton.edu:/tmp/,
the file would be copied from the home directory to the remote
computer's `/tmp/
' directory . See man rcp for more detailed
information.