Environment vars calling programs

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: DonHarropdon@nis4u.com
Dato:  
Emne: Environment vars calling programs
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?

Don