Installs a command (BSD version of the install command).
/usr/bin/installbsd [-c ] [-g Group ] [-m Mode ] [-o Owner ] [-s ] BinaryFile Destination
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.
|Copies the file specified by the BinaryFile parameter to the file or directory specified by the Destination parameter.
|Specifies a group for the file specified by the Destination parameter. The default group is staff.
|Specifies a mode for the file specified by the Destination parameter. The default mode is 755. The specified mode can be an octal number or a symbolic value.
|Specifies the owner for the file specified by the Destination parameter. The default owner is the root user.
|Causes the file specified by the BinaryFile parameter to be stripped after installation.
To install a new command called fixit, enter:
installbsd -co 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.
|Hard-link to the /usr/bin/installbsd file.
|Contains the installbsd command.
The chgrp command, chmod command, chown command, cp command, install command, mv command, strip command.