Info Node: (inetutils.info)hostname invocation

CFHT HOME inetutils.info: hostname invocation


up: Top next: dnsdomainname invocation prev: Common options Back to Software Index

3 '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.

3.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.


automatically generated by info2www version 1.2