32v 1m cp

From Computer History Wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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)