Cp (Unix)

From Wiki @ Karl Jones dot com
Revision as of 08:04, 4 February 2016 by Karl Jones (Talk | contribs)

Jump to: navigation, search

cp is a Unix command for copying files and directories.

(TO DO: change title of page to cp (Unix))

Description

The command has three principal modes of operation, expressed by the types of arguments:

  • Copying a file to another file
  • Copying one or more files to a directory
  • Copying entire directories to another directory

The utility further accepts various command line option flags to detail the operations performed.

The two major specifications are POSIX cp and GNU cp.

GNU cp has many additional options over the POSIX version.

See also

External links