Difference between revisions of "Cp (Unix)"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(External links)
 
Line 1: Line 1:
 +
{{lowercase}}
 
'''cp''' is a [[Unix]] command for copying files and directories.
 
'''cp''' is a [[Unix]] command for copying files and directories.
 
(TO DO: change title of page to ''cp (Unix)'')
 
  
 
== Description ==
 
== Description ==

Latest revision as of 12:03, 22 September 2017

cp is a Unix command for copying files and directories.

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