Jump to content

Hostname: Difference between revisions

Line 47:
 
=={{header|AWK}}==
 
{{noticebox||WARNING: the following purported solution makes an assumption about environment variables that may not be applicable in all circumstances.}}
<lang awk>$ awk 'BEGIN{print ENVIRON["HOST"]}'
E51A08ZD</lang>
2,472

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.