[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bash - File Structure Independent?
From: |
Paul Jarc |
Subject: |
Re: Bash - File Structure Independent? |
Date: |
Sat, 18 May 2002 18:07:44 -0400 |
User-agent: |
Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i686-pc-linux-gnu) |
"Paul Hendricksen" <paul.hendricksen@linuxmail.org> wrote:
> Is the GNU Borne Again Shell file structure independent? Example,
> could I put all sh-utils into /any/folder/i/want? Do I have to
> define where the sh-utils are? If so can it be hard coded or is it
> already defined in some makefiles/configurations and if so where?
bash looks for external commands in all the directories listed in
$PATH, just like nearly all other Unix programs. If you have commands
installed in unusual locations, and if you want to use them from bash
without specifying the full path, you'll have to add the directory to
$PATH or add symlinks to the commands in a directory that's already in
$PATH.
paul