On 2003-02-12 11:29, Jim Trigg <[EMAIL PROTECTED]> wrote:
> On Wed, Feb 12, 2003 at 05:22:08PM +0200, Giorgos Keramidas wrote:
> > The files that bash runs for login shells are in order:
> >
> >     ~/.bash_profile
> >     ~/.bash_login
> >     ~/.profile
> >
> > Any of these can include the `. .bashrc' command, but I picked
> > .bash_profile because it's what I commonly use.
>
> That is true but not quite accurate; bash will only run one of the
> three, so if you have a .bash_login (for example), putting the command
> in .profile will have no effect, and there is no point to having both
> .bash_profile and .bash_login as only .bash_profile will get used.

Yep.  Bash stops trying to find a startup file for login shells when
one of the files mentioned above is found.  Perhaps my wording was not
very good :)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to