Quote:>I know this is a very basic question and I apologize in advance for
>not finding it on my own. I need to add a directory to my Path and
>need to set an environment variable to point to a specific directory
>as well (for KDE desktop).
In bash and related:
export PATH=$PATH:/opt/kde/bin
export KDEDIR=/opt/kde
...to do it once, or add the above two lines to the end of
/etc/profile (or another file called from ~/.bash_profile) to do it
permanently.
In tcsh and related:
setenv PATH $PATH:/opt/kde/bin
setenv KDEDIR /opt/kde
...to do it once, or add the above two lines to the end of ~/.cshrc or
/etc/cshrc to do it permanently.
"man bash" if you want to learn EVERYTHING shell related like this
(you can do some REALLY cool stuff in 5 lines at the command prompt
once you know how) or start out with the guides at the Linux
Documentation Project, http://sunsite.unc.edu/LDP for a more
well-paced introduction.
Obligatory plug:
Since I found no way to work it into the above post, I'll just stick
the URL http://roystgnr.jones.rice.edu/links/ here and ask people to
follow it on faith.
---
Roy Stogner