


HOSTNAME(1)					   HOSTNAME(1)


NNAAMMEE
       hostname - show or set the system's host name

SSYYNNOOPPSSIISS
       hhoossttnnaammee [[--ffiinnvvSS]] [[nnaammee]]

DDEESSCCRRIIPPTTIIOONN
       HHoossttnnaammee is the program that is used to either set or dis-
       play the current host name of the system.   This	name  is
       used  by	many  of the networking programs to identify the
       machine.

       Usually, the system name gets set at boot time in the iinniitt
       sequence.   After  that, this program is only used to dis-
       play the name that has been set previously.

OOPPTTIIOONNSS
       --vv     Tell the user what is going on by being verbose.

       --ii     Shows the IP address of  the  entry  being  set  or
	      showed.  This is only useful when debugging things.

       --nn     Show the network address portion of the current  IP
	      address.	This  is  only	useful	in configuration
	      scripts.

       --SS nnaammee
	      Set the host name to the	name  specified	in  nnaammee
	      //eettcc//HHOOSSTTNNAAMMEE  file,  which of course must be read-
	      able by the super user.

       If the --ff option was also specified, the host name will be
       resolved	by  the system reslolver, and the resulting host
       name (which usually is the  official  or	FFuullllyy	QQuuaalliiffiieedd
       DDoommaaiinn  NNaammee  ((FFQQDDNN))  will be used instead.  Doing this is
       highly recommended.

FFIILLEESS
       _/_e_t_c_/_H_O_S_T_N_A_M_E

BBUUGGSS
       None so far.

AAUUTTHHOORR
       Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>












			   5 April 1993				1


