Hostname: Difference between revisions
→{{header|AWK}}: warning
(→{{header|AWK}}: warning) |
|||
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>
|