Unix commands - Copy

cp -p file.name /directory/to/place/in

Discription:  Executes the copy command at the working directory and copies the
file specified to the directory specified in the path.

  The -p argument simply tells the copy command to "preserve" the files ownership
information.  Information such as the owner, read/write permissions, group, file
creation/modification date, etc. are copied into the new file.
This site and all the contents
(unless otherwise specified)

© Eric W. Huff 1999-2015

All Rights Reserved