Re: Standard place for Bash Scripts

From: Alvin Oga (aoga_at_mail.Linux-Consulting.com)
Date: 09/30/05

  • Next message: Alvin Oga: "Re: GRUB woes (install to hde)"
    Date: Fri, 30 Sep 2005 07:12:32 -0700 (PDT)
    To: debian-user@lists.debian.org
    
    

    On Fri, 30 Sep 2005, Stephen R Laniel wrote:

    > 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.

    as people have said .. /usr/bin or /usr/local/bin .. BUT ..

    just to be a pita...

    if you have a sun box or hp or aix or gazillion distro
    on different architecture .. you'd have to use:

            /usr/bin is usually on the local disk, so problems, but

            /home/{$user}/bin.`uname -m`
            /usr/local/bin.`uname -m`
     
                    both can be sometimes an NFS resource which will need
                    the whackynes of "uname -m"

            and since scripts are typically independent of 'architecture",
            i use /usr/local/scripts for all user defined scripts

            and add mroe fun when you have /usr/local/bin/perl vs
            /usr/bin/perl vs ... or /bin/bash vs /bin/sh being different

    c ya
    alvin

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

  • Next message: Alvin Oga: "Re: GRUB woes (install to hde)"

    Relevant Pages

    • Re: Standard place for Bash Scripts
      ... > I was wondering if there was a standard place for bash scripts. ... > command, accessable to all users. ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
      (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: Typography
      ... Sounds more to me as if there wasn't a straightforward LaTeX ... which editor to use. ... There never would have been one standard - obviously. ... old command line stuff had had its day. ...
      (uk.comp.sys.mac)
    • Re: serial ports: how do I know data has been sent?
      ... > 1/ Controlling a network of pressure transducers which used RS485, ... It was fairly important to drop RTS _after_ the last character ... standard RS-232 behavior. ... I think the best you can do is send the special command, drain, then ...
      (comp.unix.programmer)