[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Standard place for Bash Scripts

On Fri, Sep 30, 2005 at 07:47:14AM -0400, Scott Fitzgerald wrote:
> I was wondering if there was a standard place for bash scripts.  A
> convention or "normal place" where they can be placed to be turned into a
> command, accessable to all users.

If you want them to be available to all users, I suspect the
canonical answer would be /usr/bin. See the man page for
hier(7). Everyone has /usr/bin in his or her path.

If, however, you only want it to be available to a specific
user, put it in that user's ${HOME}/bin, then put
${HOME}/bin in their $PATH.

Stephen R. Laniel
+(617) 308-5571
PGP key: http://laniels.org/slaniel.key

Attachment: signature.asc
Description: Digital signature

Reply to: