cp man page on Ultrix

Man page or keyword search:  
man Server   3690 pages
apropos Keyword Search (all sections)
Output format
Ultrix logo
[printable version]

cp(1)									 cp(1)

Name
       cp - copy file data

Syntax
       cp [ -f ] [ -i ] [ -p ] file1 file2

       cp [ -f ] [ -i ] [ -p ] [ -r ] file... directory

       cp [ -f ] [ -i ] [ -p ] [ -r ] directory... directory

Description
       The  command  copies file1 onto file2.  The mode and owner of file2 are
       preserved if it already existed; the mode of file1 is  used  otherwise.
       Note that the command will not copy a file onto itself.

       In  the	second	form,  one or more files are copied into the directory
       with their original file names.

       In the third form, one or more source directories are copied  into  the
       destination directory with their original file names.

Options
       -f   Forces  existing  destination pathnames to be removed before copy‐
	    ing, without prompting for confirmation.  The -i option is ignored
	    if the -f option is specified.

       -i   Prompts user with the name of file whenever the copy will cause an
	    old file to be overwritten. A yes answer will cause	 to  continue.
	    Any other answer will prevent it from overwriting the file.

       -p   Preserves (duplicates) in the copies the modification time, access
	    time, file mode, user ID, and group ID as allowed by  the  permis‐
	    sions of the source files, ignoring the present umask.

       -r   Copies  directories.  Entire directory trees, including their sub‐
	    trees and the individual files they contain,  are  copied  to  the
	    specified  destination directory. The directory, its subtrees, and
	    the individual files retain their original names. For example,  to
	    copy  the  directory including all of its subtrees and files, into
	    the directory enter the following command:
	    cp -r reports news

See Also
       cat(1), pr(1), mv(1)

									 cp(1)
[top]

List of man pages available for Ultrix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net