BSD 4_3_Tahoe development
[unix-history] / usr / man / cat1 / install.0
CommitLineData
362b077f
C
1
2
3
4INSTALL(1) UNIX Programmer's Manual INSTALL(1)
5
6
7
8N\bNA\bAM\bME\bE
9 install - install binaries
10
11S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
12 i\bin\bns\bst\bta\bal\bll\bl [ -\b-c\bc ] [ -\b-m\bm mode ] [ -\b-o\bo owner ] [ -\b-g\bg group ] [ -\b-s\bs ]
13 file1 file2; or file1 ... fileN directory
14
15D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
16 The file(s) are moved (or copied if the -\b-c\bc option is speci-
17 fied) to the target file or directory. If the destination
18 is a directory, then the _\bf_\bi_\bl_\be is moved into _\bd_\bi_\br_\be_\bc_\bt_\bo_\br_\by with
19 its original file-name. If the target file already exists,
20 it is overwritten.
21
22 The mode is set to 755; the -\b-m\bm option may be used to specify
23 an alternate mode.
24
25 The -\b-o\bo and -\b-g\bg options may be used to specify an owner and/or
26 group, respectively.
27
28 The -\b-s\bs option causes the file to be stripped. It is an
29 error to attempt to strip a file not in the _\ba._\bo_\bu_\bt format,
30 but not to attempt to strip a file that has already been
31 stripped.
32
33 _\bI_\bn_\bs_\bt_\ba_\bl_\bl refuses to move a file onto itself.
34
35 Installing ``/dev/null'' creates an empty file.
36
37R\bRE\bET\bTU\bUR\bRN\bN V\bVA\bAL\bLU\bUE\bE
38 Upon successful completion a value of 0 is returned. Other-
39 wise, a value of 1 is returned.
40
41S\bSE\bEE\bE A\bAL\bLS\bSO\bO
42 chgrp(1), chmod(1), cp(1), mv(1), strip(1), a.out(5),
43 chown(8)
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63Printed 7/9/88 July 9, 1988 1
64
65
66