This directory of Linux commands is from Linux in a Nutshell, 5th Edition.
Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.
Buy it now, or read it online on Safari Bookshelf.
rcp [options] file1 file2
rcp [options] file ... directory
Copy files between two machines. Each file or directory is either a remote filename of the form rname@rhost:path, or a local filename. Files can be copied between two remote machines, where neither file1 nor file2 is on the local machine. Use of rcp has generally been replaced by scp, which offers better security.
Use ccachefile for the credentials cache file.
Use configfile as the configuration file.
Connect to the specified port on the remote system.
Always use a network connection, even when doing a local copy. Useful for testing.
Attempt to get tickets for remote host; query krb_realmofhost to determine realm.
Preserve modification times and modes of the source files.
Request either the new (-PN) or old (-PO) version of the Kerberos rcmd protocol.
If any of the source files are directories, descend into each directory and recursively copy all files and directories within it. The destination must be a directory.
Turn on DES encryption for all data passed by rcp.