Hostname: Difference between revisions

Content deleted Content added
Added Delphi example
added coffeescript
Line 68:
<lang shell>
java -cp clojure.jar clojure.main -e "(.. java.net.InetAddress getLocalHost getHostName)"
</lang>
 
=={{header|Coffeescript}}==
<lang>
os = require 'os'
console.log os.hostname()
</lang>