Re: Setting Path ENV variable
ok.. I've found the .bashrc in /root and put the path statement into there.
Yet is still gives only the standard path (login and type: set). Are
there multiple places where this needs to be set?
The syntax is:
PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/x11:/usr/code/c/util:/usr/code/c
/space:/etc/ppp:/etc/ppp/peers"
TIA for any help.
Andy
----------
> From: ktb <xyf@inetnebr.com>
> To: Debian Users <debian-user@lists.debian.org>
> Subject: Re: Setting Path ENV variable
> Date: Tuesday, December 07, 1999 7:44 PM
>
> Andy Thomas wrote:
> >
> > Hi,
> > Running Linux from O'Reilly says that the search path can be set in
> > .bashrc
> > file, but the only .bashrc I'm finding is for a user I created, not
>root.
> > Is there a bash configuration file for root?
>
> To get to that file you have to be signed in as root or su to root and
> cd to the /root directory.
>
> >I'm trying to add some
> > directories to the search path.
> >
> > I found a file named /etc/profile with a PATH statement in it, but
> > attempts
> > to add to that don't work. The comment at the top says it's the
> > system-wide profile for bash(1)
>
> I'm by no means an expert on this but I've found that /etc/profile
> effects my console sessions and not my 'X' sessions.
> hth,
> kent
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org <
/dev/null
>
Reply to: