PATH revisited

Bob McClure Jr robertmcclure at earthlink.net
Fri Mar 19 15:57:34 UTC 2004


On Fri, Mar 19, 2004 at 09:33:14AM -0600, Fred Grant wrote:
> I'm still unable to get Adobe (acroread) into my PATH.  I thought maybe
> it was an ownership thing so I did chown fdgrant accroread.

That won't help

> I then did PATH=$PATH:/usr/Acrobat5/bin.

That will work until you exit that shell.  You need to put that
command in your ~/.profile and maybe in your ~/bash_profile.  That
should establish that for every shell, and for your GUI.

> When I reboot, the PATH is as it
> previously was.

That's the way it works.  PATH is not "persistent".  It lasts only for
that shell and any subshells.  When you exit the shell and/or log out,
the next time you log in or bring up a shell, your PATH is set by a
combination of /etc/profile, /etc/bashrc, ~/.profile, ~/.bash_profile,
and ~/.bashrc.  Follow the instructions above, and things should work.

> Any ideas?
> 
> Thanks

Cheers,
-- 
Bob McClure, Jr.             Bobcat Open Systems, Inc.
robertmcclure at earthlink.net  http://www.bobcatos.com
God loves you whether you like it or not,
  but he won't kidnap you to heaven.





More information about the Redhat-install-list mailing list