Environment vars calling programs

Jason jkenner@mindspring.com
Mon, 30 Oct 2000 16:07:19 -0700


Don Harrop wrote:
> 
> Ok, here's the first HP-UX question.  I want to setup the HOSTNAME var to
> function like it does under Linux.  If I set HOSTNAME='/bin/hostname' and
> echo $HOSTNAME I get '/bin/hostname' printed back, not the hostname of the
> machine..  Any ideas?

The quotes arent pointing the right way?

use `command` instead of 'command' 
-- 
jkenner @ mindspring . com__
I Support Linux:           _> _  _ |_  _  _     _|
Working Together To       <__(_||_)| )| `(_|(_)(_|
To Build A Better Future.       |                   <s>