BSD 4_3_Tahoe development
[unix-history] / usr / man / cat1 / install.0
INSTALL(1) UNIX Programmer's Manual INSTALL(1)
N\bNA\bAM\bME\bE
install - install binaries
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
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 ]
file1 file2; or file1 ... fileN directory
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
The file(s) are moved (or copied if the -\b-c\bc option is speci-
fied) to the target file or directory. If the destination
is a directory, then the _\bf_\bi_\bl_\be is moved into _\bd_\bi_\br_\be_\bc_\bt_\bo_\br_\by with
its original file-name. If the target file already exists,
it is overwritten.
The mode is set to 755; the -\b-m\bm option may be used to specify
an alternate mode.
The -\b-o\bo and -\b-g\bg options may be used to specify an owner and/or
group, respectively.
The -\b-s\bs option causes the file to be stripped. It is an
error to attempt to strip a file not in the _\ba._\bo_\bu_\bt format,
but not to attempt to strip a file that has already been
stripped.
_\bI_\bn_\bs_\bt_\ba_\bl_\bl refuses to move a file onto itself.
Installing ``/dev/null'' creates an empty file.
R\bRE\bET\bTU\bUR\bRN\bN V\bVA\bAL\bLU\bUE\bE
Upon successful completion a value of 0 is returned. Other-
wise, a value of 1 is returned.
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
chgrp(1), chmod(1), cp(1), mv(1), strip(1), a.out(5),
chown(8)
Printed 7/9/88 July 9, 1988 1