info("localhostname")
info("localhostname")

The info(“localhostname”) function returns the computer’s local host name.

Description

This function returns the computer’s local host name (the name that can be used to access this computer on the local network).

See Also

- info("computername") -- returns the name of the computer (as set up in the System Preferences Sharing panel).
- info("computerserialnumber") -- returns the computer's serial number.
- info("unixgroupid") -- returns the UNIX group ID of the current user.
- info("unixuserid") -- returns the UNIX user ID of the current user.

History

Version | Status | Notes
10.0 | New | New in this version.