[KLUG Members] Change PATH
Eric Beversluis
econophil at charter.net
Tue Feb 7 12:00:24 EST 2006
On Tue, 2006-02-07 at 11:48 -0500, Bruce Smith wrote:
> > 1. OO.o installed in /opt. I want to change my PATH environment
> > variable. I tried this:
> >
> > export PATH=$PATH:/opt/openoffice.org2.0/program
> >
> > but it didn't do it.
> >
> > What's the correct command?
>
> That looks OK to me. What does this show before and after your export?
>
> echo $PATH
>
It shows the changed path right after I execute the command, but then
the path reverts when I exit, so when I come back it's back to the
original.
I read online that PATH can be directed edited in /etc/profile, but I
don't see a line starting with PATH in that file.
EB
>
> - BS
>
> _______________________________________________
> Members mailing list
> Members at kalamazoolinux.org
>
More information about the Members
mailing list