1CP(1) General Commands Manual CP(1)
23
4
NAME
6cp - copy
7
SYNOPSIS
9cp file1 file2
1011
cp file ... directory
12
DESCRIPTION
14File1 is copied onto file2. The mode and owner of file2 are preserved
15if it already existed; the mode of the source file is used otherwise.
1617
In the second form, one or more files are copied into the directory
18with their original file-names.
1920
Cp refuses to copy a file onto itself.
21
SEE ALSO
23cat(1), pr(1), mv(1)
2425
26
27
CP(1)