cp

The cp command copies one file to another.

Command Format

copy [from] [to]

where:

from file where to copy from
to file where to copy to

Functional description

The cp command is used to copy one file to another.The from and to file may be either a file on a filesystem, a device or a file on a tftp server.

Environment

The cp command uses no environment variable.

See Also

The diff command.

Powered by Drupal, an open source content management system