id host

Part of the TclX package.

id host

Return the hostname of the current machine. Same as info hostname.