O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required