Thanks Irvine, that seems to do the trick.

Mike

----- Original Message -----
From: "Irvine Russell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 09, 2002 11:23 AM
Subject: Re: RH 7.2 Path ?


> Mike Stewart kirjoitti 09.12.2002 kello 11:58:
> > Hi there, a simple question from a simple newbie.... how/where do I
> >  set up
> > the PATH ?  I need to add a folder to it.
> >
> > I looked in etc/profile but that seems to pick up the path from
> >  somewhere
> > else then add user's specific things to the original path ?
>
> Hei
>
> Didn't quite understand what you meant by:
>    "somewhere else then add user's specific things to the original path"
>
> I took a look at /etc/profile and didn't quite understand what it was up
to.
>
> Anyway, if you want to set the path for a single user I would put it in
that
> user's ~/.bashrc.
>
> Make sure that that user's ~/.bash_profile sources .bashrc - that is has
> something like the following in it:
>
>     if [ -f ~/.bashrc ]; then
>             . ~/.bashrc
>     fi
>
> Not sure if this is the best solution, but it should work.
>
>




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to