Difference between revisions of "32v 1m cp"
From Computer History Wiki
(New page: CP(1) UNIX Programmer's Manual CP(1) == NAME == cp - copy == SYNOPSIS == cp file1 file2 cp file ... directory == DESCRIPTION == _F_i_...) |
(No difference)
|
Latest revision as of 15:33, 26 October 2009
CP(1) UNIX Programmer's Manual CP(1)
Contents
NAME
cp - copy
SYNOPSIS
cp file1 file2
cp file ... directory
DESCRIPTION
_F_i_l_e_1 is copied onto _f_i_l_e_2. The mode and owner of _f_i_l_e_2 are preserved if it already existed; the mode of the source file is used otherwise.
In the second form, one or more _f_i_l_e_s are copied into the _d_i_r_e_c_t_o_r_y with their original file-names.
_C_p refuses to copy a file onto itself.
SEE ALSO
cat(1), pr(1), mv(1)