Difference between revisions of "Cp (Unix)"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
Line 1: Line 1:
cp is a UNIX command for copying files and directories. The command has three principal modes of operation, expressed by the types of arguments presented to the program for copying a file to another file, one or more files to a directory, or for copying entire directories to another directory.
+
'''cp''' is a [[Unix]] command for copying files and directories.
  
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.
+
(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 ==
 
== See also ==
  
 +
* [[File system]]
 
* [[Linux]]
 
* [[Linux]]
 +
* [[Unix]]
  
 
== External links ==
 
== External links ==

Revision as of 07:04, 4 February 2016

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