Hostname: Difference between revisions

no edit summary
No edit summary
Line 22:
get(read OF execve child pipe("/bin/hostname","hostname",""), hostname);
print(("hostname: ", hostname, new line))</lang>
 
=={{header|Aikido}}==
<lang aikido>
println (System.hostname)
</lang>
 
=={{header|AutoHotkey}}==
<lang AutoHotkey>MsgBox % A_ComputerName</lang>