Environment vars calling programs

Góra strony
Załączniki:
Wiadomość jako email
+ (text/plain)
Delete this message
Reply to this message
Autor: DonHarropdon@nis4u.com
Data:  
Temat: 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