32v 1m cp

From Computer History Wiki
Jump to: navigation, search

CP(1) UNIX Programmer's Manual CP(1)


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)