Bash is backwards, or I can't read a man page.

Matthew O. Persico persicom@acedsl.com
Fri Mar 16 19:09:00 GMT 2001


According to what I get from the manpage, the order of execution for a
login shell should be:

/etc/profile
~/.bash_profile
~/.bashrc

When I login, I see 
/etc/profile
~/.bashrc
~/.bash_profile

because /etc/profile tests for ./.bashrc and runs it itself.

Is this a bug or a feature? Does someone have a clearer explanation of
what stuff goes into .bash_profile and what goes into .bashrc and when
they get called? Maybe it's just me - I can't grok this in ksh using the
O'Reilly book either.

-- 
Matthew O. Persico
    
http://www.acecape.com/dsl
AceDSL:The best ADSL in Verizon area

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list