This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: users and startup scripts (FAQ alert)

> -----Original Message-----
> From: []On Behalf
> Of Igor Pechtchanski
> Sent: Monday, July 07, 2003 2:25 PM
> To: Bill McCormick
> Cc:
> Subject: Re: users and startup scripts (FAQ alert)
> On Mon, 7 Jul 2003, Bill McCormick wrote:
> > My /etc/.bash_profile doesn't seem to get executed. According to
> >
> it
> > wouldn't, which is contrary to other posts I've seen and Cygwin docs. So
> > consequently, my bash.bashrc and ~/.bashrc do not get executed.
> >
> > /etc/profile does execute but where exactly is it called from?
> Is it called
> > from the executable?
> According to the "Bash Startup Files" section of the bash info page, bash
> looks for either [/etc/profile, ~/.bash_profile|~/.bash_login|~/.profile]
> when it's a login shell, and a [~/.bashrc] if it's a non-login shell.
> Also from there:
>    So, typically, your `~/.bash_profile' contains the line
>      `if [ -f ~/.bashrc ]; then . ~/.bashrc; fi'
>    after (or before) any login-specific initializations.
> Hope this helps.

Yes, thanks.

I cp'd my edited version of /etc/.bash_profile to ~/.bash_profile and all is


Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
Version: 6.0.491 / Virus Database: 290 - Release Date: 6/18/2003

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]