rcp

Copies one or more files to or from a remote computer

rcp [options] source-file destination-file

rcp [options] source-file-list destination-directory

The rcp utility copies one or more ordinary files between two computers that can communicate over a network. Like cp, rcp has two modes of operation: The first copies one file to another, and the second copies one or more files to a directory.

security || rcp Is Not Secure

The rcp utility uses host-based trust, which is not secure, to authorize files to be copied. Refer to “Trusted Hosts” on page 373. Use scp (page 1308) when it is available.

Arguments

The source-file, source-file-list, and destination-file are pathnames of the ordinary files, and the destination-directory is the pathname ...

Get A Practical Guide to Red Hat® Linux® 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.