/etc/profile and ~/.bash_profile are not being read
janne
jan.moren at lucs.lu.se
Wed Nov 17 02:02:24 UTC 2004
tis 2004-11-16 klockan 17:48 -0800 skrev Vram:
> On Wed, 2004-11-17 at 10:16 +0900, janne wrote:
> > A constant source of frustration is that neither /etc/profile, nor
> > ~/.bash_profile are being read, and thus I can't use these for adding
> > stuff to my PATH, or other things.
> >
> > Anybody has a solution to this? Is this a real bug, or is there some
> > other, prefferred way to do stuff like that?
> >
> > And in any case, should'nt these files be honoured in any case, seeing
> > as how they are standard on other systems?
> >
> >
>
> Well.....
>
> I think I would put stuff in
> .bashrc
That is being run every time you open a new shell, meaning anything in
it will be redone every time. THat is not a good idea for things like
adding directories to your path.
> It is my understanding that .bash_profile is read on login
It should be. It isn't. That is the basis of my question :)
--
Trust the Computer. The Computer is your friend.
Tel. (Japan) 090-3622 8920 Dr. Jan Morén (mr)
Dept. of Cognitive Science
http://lucs.lu.se/people/jan.moren Lund, Sweden
More information about the ubuntu-users
mailing list