On Sun, 23 Sep 2001 07:49:15 -0600
Collins Richey <[EMAIL PROTECTED]> wrote:

> > > > What is the result of: echo $BASH_ENV
> > > > 
> > > 
> > > The variable is not set.
> > > 
> > 
> > with aliai in /etc/bashrc and sourced from ~/.bashrc
> > export BASH_ENV=$HOME/.bashrc - try it in /etc/profile
> > logout and in
> > 
> 
> Nope
> 

Damn, I thought that was it.  At this point I think I should
explain how it works on my system.  My only other suggestion
is to put echo statements in the bash related startup files
to see what is running and what is not.

On login (runlevel2) these files are run in this order:
        /etc/profile    run by bash on login startup    
        ~/.bash_profile run by bash on login startup
        ~/.bashrc       sourced by ~/.bash_profile
        /etc/bashrc     sourced by ~/.bashrc

Each xterm that is started runs:
        ~/.bashrc       run by bash on non-login startup
        /etc/bashrc     sourced by ~/.bashrc

I don't know if BASH_ENV is used in these situations,
apparently not.

There are other files that run if they exist.  Man bash
has the details.

-- 
Chris Kassopulo
_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users

Reply via email to