unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (OSF1-V5.1-alpha)
Page:
Section:
Apropos / Subsearch:
optional field



installbsd(1)							installbsd(1)



NAME

  installbsd - Installs	a command (BSD version)

SYNOPSIS

  installbsd [-cs] [-g group] [-m mode]	[-o owner] file	destination

  The installbsd command moves or copies a binary file to the specified	des-
  tination file	or directory.  It is most often	used in	makefiles.

OPTIONS

  -c  Copies file to destination rather	than moving it.

  -g group
      Specifies	a group	for the	destination file.  The default group is
      staff.

  -m mode
      Specifies	the mode of the	destination file.  The default mode is 755.

  -o owner
      Specifies	the owner of the destination file.  The	default	owner is
      root.

  -s  Causes the binary	file to	be stripped after installation (see
      strip(1)).

DESCRIPTION

  If destination is a file and such a file already exists, installbsd removes
  it before file is moved or copied.  If destination is	a directory, file is
  moved	or copied into that directory with its original	filename.  installbsd
  will not move	a file onto itself.

EXAMPLES

  To install a new command called fixit, enter:

       installbsd -c -o	henry fixit /usr/bin

  This installs	a new command by copying the program fixit to /usr/bin/fixit,
  with user henry as owner.

SEE ALSO

  Commands:  chgrp(1), chmod(1), chown(1), cp(1), install(1), make(1), mv(1),
  strip(1)