Linux Command Directory


Linux in a Nutshell

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

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.

Options

-c ccachefile

Use ccachefile for the credentials cache file.

-C configfile

Use configfile as the configuration file.

-D port

Connect to the specified port on the remote system.

-N

Always use a network connection, even when doing a local copy. Useful for testing.

-k

Attempt to get tickets for remote host; query krb_realmofhost to determine realm.

-p

Preserve modification times and modes of the source files.

-PN, -PO

Request either the new (-PN) or old (-PO) version of the Kerberos rcmd protocol.

-r

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.

-x

Turn on DES encryption for all data passed by rcp.


More Linux resources from O'Reilly >>

Popular Topics

Browse Books & Videos

International Sites

O'Reilly China O'Reilly Germany O'Reilly Japan