|
|
1.1 ! root 1: .\" Copyright (c) 1987 Regents of the University of California. ! 2: .\" All rights reserved. ! 3: .\" ! 4: .\" Redistribution and use in source and binary forms are permitted ! 5: .\" provided that the above copyright notice and this paragraph are ! 6: .\" duplicated in all such forms and that any documentation, ! 7: .\" advertising materials, and other materials related to such ! 8: .\" distribution and use acknowledge that the software was developed ! 9: .\" by the University of California, Berkeley. The name of the ! 10: .\" University may not be used to endorse or promote products derived ! 11: .\" from this software without specific prior written permission. ! 12: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ! 13: .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED ! 14: .\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. ! 15: .\" ! 16: .\" @(#)install.1 6.5 (Berkeley) 7/9/88 ! 17: .\" ! 18: .TH INSTALL 1 "July 9, 1988" ! 19: .UC 5 ! 20: .SH NAME ! 21: install \- install binaries ! 22: .SH SYNOPSIS ! 23: .B install ! 24: [ ! 25: .B \-c ! 26: ] [ ! 27: .B \-m ! 28: mode ] [ ! 29: .B \-o ! 30: owner ] [ ! 31: .B \-g ! 32: group ] [ ! 33: .B \-s ! 34: ] file1 file2; or file1 ... fileN directory ! 35: .SH DESCRIPTION ! 36: The file(s) are moved (or copied if the \fB-c\fP option is specified) ! 37: to the target file or directory. If the destination is a directory, then ! 38: the \fIfile\fP is moved into \fIdirectory\fP with its original file-name. ! 39: If the target file already exists, it is overwritten. ! 40: .PP ! 41: The mode is set to 755; the \fB-m\fP option may be used to specify ! 42: an alternate mode. ! 43: .PP ! 44: The \fB-o\fP and \fB-g\fP options may be used to specify an owner ! 45: and/or group, respectively. ! 46: .PP ! 47: The \fB-s\fP option causes the file to be stripped. It is an error ! 48: to attempt to strip a file not in the \fIa.out\fP format, but not to ! 49: attempt to strip a file that has already been stripped. ! 50: .PP ! 51: \fIInstall\fP refuses to move a file onto itself. ! 52: .PP ! 53: Installing ``/dev/null'' creates an empty file. ! 54: .SH "RETURN VALUE" ! 55: Upon successful completion a value of 0 is returned. Otherwise, a ! 56: value of 1 is returned. ! 57: .SH "SEE ALSO" ! 58: chgrp(1), chmod(1), cp(1), mv(1), strip(1), a.out(5), chown(8)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.