Environment vars calling programs

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: DonHarropdon@nis4u.com
Dátum:  
Tárgy: 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