>how do i set a env variable.
>when i log in to unix, i always have to type
>" cd /var/apache/www/htdocs/nglim "
>i want to set a variable to this value and then
>i can type cd wwwpath to go to this path.
>how can i do that ?
What I do is make symlinks to directories like this in my directory, e.g.
ln -s /var/apache/www/htdocs/nglim ~/wwwpath
I also set cdpath:
set cdpath=(. ~)
so that I can cd to these things even when I'm not in my directory. That
"set" command is a csh/tcsh feature, but I suspect other shells have
GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.