This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Bash is backwards, or I can't read a man page.
- To: cygwin <cygwin at cygwin dot com>
- Subject: Bash is backwards, or I can't read a man page.
- From: "Matthew O. Persico" <persicom at acedsl dot com>
- Date: Fri, 16 Mar 2001 22:15:28 -0500
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