Re: Standard place for Bash Scripts

From: Stephen R Laniel (steve_at_laniels.org)
Date: 09/30/05

  • Next message: nullman: "Re: Storing whole sarge disto on a HD partition?"
    Date: Fri, 30 Sep 2005 08:35:38 -0400
    To: Scott Fitzgerald <sfitz007@bestweb.net>
    
    
    

    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
    steve@laniels.org
    +(617) 308-5571
    http://laniels.org/
    PGP key: http://laniels.org/slaniel.key
    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: nullman: "Re: Storing whole sarge disto on a HD partition?"

    Relevant Pages

    • Re: Standard place for Bash Scripts
      ... On Fri, 30 Sep 2005, Stephen R Laniel wrote: ... >> I was wondering if there was a standard place for bash scripts. ... >> command, accessable to all users. ...
      (Debian-User)
    • Re: locked out from gdm - input field greyed out
      ... it's reverting back to standard greeter. ... Is there a way to edit gdm.conf from the command line? ... gdm with the standard configuration files which are included in the ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: Standard place for Bash Scripts
      ... > I was wondering if there was a standard place for bash scripts. ... > command, accessable to all users. ... John Hasler ...
      (Debian-User)
    • Re: Standard place for Bash Scripts
      ... On Fri, 2005-09-30 at 07:47 -0400, Scott Fitzgerald wrote: ... > I was wondering if there was a standard place for bash scripts. ... > command, accessable to all users. ...
      (Debian-User)
    • Re: [opensuse] Undoing a delete
      ... that a trashcan folder would be standard. ... but it does not save you from command line rm. ... To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx ...
      (SuSE)