Date: Sun, 20 Dec 1998 11:21:37 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp AT delorie DOT com Subject: Re: GNU Software for MS-Windows and MS-DOS In-Reply-To: <75cuo8$e07$1@pollux.dnai.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Thu, 17 Dec 1998, David Christensen wrote: > c:\_bash_profile doesn't seem to get executed on either box. That's because .bash_profile is only read by a *login* shell. A login shell is the one invoked when you log into a Unix system, which can't happen on Windows. To make Bash behave like a login shell, invoke it with the -login switch. The reason for two startup files (.bashrc and .bash_login) is that a login shell usually does all kinds of setups that are only needed once. That is why each kind of shell (login and non-login) reads only one of these two files. This is all described in the Bash manual (see the section INVOCATION).