File: inetutils.info, Node: hostname invocation, Next: ifconfig invocation, Prev: dnsdomainname invocation, Up: Top 4 'hostname': Show or set system host name. ******************************************* 'hostname' is a program to show or to set the name of a host system. Synopsis: hostname [OPTION...] hostname NAME where NAME is the name to be used by the running host. 4.1 Command line options ======================== '-a' '--aliases' Get alias names. '-d' '--domain' Get DNS domain name. '-f' '--fqdn' '--long' Get DNS host name or Fully Qualified Domain Name. '-F FILE' '--file=FILE' Set host name or NIS domain name from FILE. '-i' '--ip-addresses' Get addresses for the host name. '-s' '--short' Get short host name. '-y' '--yp' '--nis' Get NIS/YP domain name.