Re: PATH variable--where is it?
Tnx to MarkL for the reminder to keep scope restricted, and how-to.
Kudos to MarkC for the why-you-do-it-that-way.
Each of you who responded to my query has contributed to a better
understanding than have 7 or 8 books, each promising guru-hood.
On Tue, 30 Oct 2001 08:13:56 -0500 (EST), you wrote:
>
>From the bash manpage,
>
> When bash is invoked as an interactive login shell, or as
> a non-interactive shell with the --login option, it first
> reads and executes commands from the file /etc/profile, if
> that file exists. After reading that file, it looks for
> ~/.bash_profile, ~/.bash_login, and ~/.profile, in that
> order, and reads and executes commands from the first one
> that exists and is readable.
>
>The manpage for whatever shell you are using should reveal what files it
>reads, hence where its path is coming from.
>
>-- Mark
Reply to: