hostname

hostname – show or set the system’s host name
domainname – show or set the system’s NIS/YP domain name
dnsdomainname – show the system’s DNS domain name
nisdomainname – show or set system’s NIS/YP domain name
ypdomainname – show or set the system’s NIS/YP domain name
nodename – show or set the system’s DECnet node name

 

 

hostname [-v] [-a] [–alias] [-d] [–domain] [-f] [–fqdn] [-i] [–ip-address] [–long] [-s] [–short] [-y] [–yp] [–nis] [-n] [–node]

hostname [-v] [-F filename] [–file filename] [hostname]

domainname [-v] [-F filename] [–file filename] [name]

nodename [-v] [-F filename] [–file filename] [name]

hostname [-v] [-h] [–help] [-V] [–version]

dnsdomainname [-v]
nisdomainname [-v]
ypdomainname [-v]

 

 

Hostname is the program that is used to either set or display the current host, domain or node name of the system

 

http://linux.about.com/library/cmd/blcmdl8_named.htm