GNU Info

Info Node: (sh-utils.info)hostname invocation

(sh-utils.info)hostname invocation


Next: hostid invocation Prev: uname invocation Up: System context
Enter node , (file) or (file)node

`hostname': Print or set system name
====================================

   With no arguments, `hostname' prints the name of the current host
system.  With one argument, it sets the current host name to the
specified string.  You must have appropriate privileges to set the host
name. Synopsis:

     hostname [NAME]

   The only options are `--help' and `--version'.  Note: Common
options.


automatically generated by info2www version 1.2.2.9