Commit | Line | Data |
---|---|---|
e6817382 BJ |
1 | .TH CP 1 |
2 | .SH NAME | |
3 | cp \- copy | |
4 | .SH SYNOPSIS | |
5 | .B cp | |
6 | file1 file2 | |
7 | .PP | |
8 | .B cp | |
9 | file ... directory | |
10 | .SH DESCRIPTION | |
11 | .I File1 | |
12 | is copied onto | |
13 | .IR file2 . | |
14 | The mode and owner of | |
15 | .I file2 | |
16 | are preserved if it already | |
17 | existed; the mode of the source file | |
18 | is used otherwise. | |
19 | .PP | |
20 | In the second form, one or more | |
21 | .I files | |
22 | are copied into the | |
23 | .I directory | |
24 | with their original file-names. | |
25 | .PP | |
26 | .I Cp | |
27 | refuses to copy a file onto itself. | |
28 | .SH "SEE ALSO" | |
29 | cat(1), pr(1), mv(1) |