home *** CD-ROM | disk | FTP | other *** search
-
- You may ask "Why another version of the hostname command?". The answer is
- simple. A lot of people misuse the domainname command to get the DNS domain
- name. Since the domainname command should ONLY be used to set/show the NIS
- domain name (formerly known as Yellow Pages) there was no easy way to get
- the FQDN (Fully Qualified Domain Name) or the domainname from within a
- shell script.
-
- This hostname command offers you some additional features:
-
- - show the FQDN (long host name)
- - show the short host name
- - show the DNS domain name
- - read the host name from file
-
- For further informations simply type "hostname --help" or read the manual
- page.
-
- If the program is called as dnsdomainname it will simply show the DNS domain
- name.
-