Print this page
Placeholder

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1/hostname.1.man.txt
          +++ new/usr/src/man/man1/hostname.1.man.txt
   1    1  HOSTNAME(1)                      User Commands                     HOSTNAME(1)
   2    2  
   3    3  
   4    4  
   5    5  NAME
   6    6         hostname - set or print name of current host system
   7    7  
   8    8  SYNOPSIS
   9      -       /usr/bin/hostname [name-of-host]
        9 +       /usr/bin/hostname [-d | -f] [domain | hostname]
  10   10  
  11   11  
  12   12  DESCRIPTION
  13      -       The hostname command prints the name of the current host, as given
  14      -       before the login prompt. The super-user can set the hostname by giving
  15      -       an argument.
       13 +       With no arguments th hostname command prints the name of the current
       14 +       host, as given before the login prompt.  If -d is passed the hostname
       15 +       command will instead print out the name of default domain, and if -f is
       16 +       passed the hostname will be fully-qualified.
       17 +
       18 +       The super-user can set the hostname (or domain name if -d is passed) by
       19 +       passing the new value as an additional argument.  The FQDN (fully
       20 +       qualified domain name) cannot be set using the hostname command.
  16   21  
  17   22  SEE ALSO
  18   23         uname(1), attributes(5)
  19   24  
  20   25  
  21   26  
  22      -                              September 14, 1992                   HOSTNAME(1)
       27 +                                 May 10, 2016                      HOSTNAME(1)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX