Re: bash
Typically .bashrc should return no output. If it did, scp and ssh will
not work properly. Rsync will refuse to run. So .bashrc should have
aliases etc while .bash_profile should have stuff like you only need to
set once, like your path and any app variables (PILOTRATE, etc) and maby a
fortune command at the end to send out a random fortune cookie. So the
general rule is there should be no output from .bashrc.
--
Arthur H. Johnson II
Senior Systems Engineer
The Linux Box
206 S. Fifth Ave. Suite 150
Ann Arbor, MI 48104
tel. 734-761-4689
fax. 734-769-8938
pgr. 734-882-0323
cel. 810-610-9583
txt. 8106109583@vmobl.com
On Tue, 17 Dec 2002, Andrei Smirnov wrote:
> On Mon, Dec 16, 2002 at 04:39:54PM -0500, Bruce Park wrote:
> > Dear debian users,
> >
> > My understanding with the original Bourne shell was that when it starts up,
> > it will execute .profile in the users home directory. How does this work in
> > bash? I have a .bash_profile but I know that it isn't executed since my
> > PATH variable isn't updated everytime I log on.
> >
> > bp
> >
> > _________________________________________________________________
> > Add photos to your e-mail with MSN 8. Get 2 months FREE*.
> aa ... .bash_profile executed 100%
> maybe in a .bashrc , sourced from it, the PATH changes?
> bash executes /etc/profile , ~/.bash_profile , ~/.bash_login and ~/.profile
> or you enabled --noprofile option
> or its not your $HOME ?? thanx for listening .nya .. reading
>
>
>
Reply to:
- References:
- Re: bash
- From: Andrei Smirnov <andrei.s@myrealbox.com>