Installs a command (BSD version of the install command).
/usr/bin/installbsd[- c][- g Group] [- m Mode][- o Owner][- s] BinaryFileDestination
The installbsd command installs the file specified by the BinaryFile parameter by moving it to a file or directory specified by the Destination parameter. Use of the -c flag copies the BinaryFile rather than moving it. If the specified Destination parameter is a directory, the BinaryFile is moved into the directory. If the specified Destination parameter already exists as a file, the installbsd command removes that file before the BinaryFile is moved. The installbsd command does not move a file onto itself.
Installing the file /dev/null creates an empty file.
To install a new command called
fixit, enter:
installbsd -c o mike fixit /usr/bin
This command sequence installs a new command by copying the program fixit to /usr/bin/fixit, with user mike as the owner.
/usr/ucb/install | Hard-link to the /usr/bin/installbsd file. |
/usr/bin/installbsd | Contains the installbsd command. |
The chgrp command, chmod command, chown command, cp command, install command, mv command, strip command.