hostname: Show or set system host name.
hostname is a program to show or to set the name of a
hostname [option…] hostname name
where name is the name to be used by the running host.
Get alias names.
Get DNS domain name.
Get DNS host name or Fully Qualified Domain Name.
Set host name or NIS domain name from FILE.
Get addresses for the host name.
Get short host name.
Get NIS/YP domain name.