4.3BSD-Tahoe/usr/man/cat1/hostname.0

Compare this file to the similar file:
Show the results in this format:




HOSTNAME(1)	    UNIX Programmer's Manual	      HOSTNAME(1)



NNAAMMEE
     hhoossttnnaammee - set or print name of current host system

SSYYNNOOPPSSIISS
     hhoossttnnaammee [-s] [nameofhost]

DDEESSCCRRIIPPTTIIOONN
     _H_o_s_t_n_a_m_e prints the name of the current host.  The super-
     user can set the hostname by supplying an argument; this is
     usually done in the network initialization script
     /_e_t_c/_n_e_t_s_t_a_r_t, normally run at boot time.	The -_s option
     trims any domain information from the printed name.

SSEEEE AALLSSOO
     gethostname(2), sethostname(2)








































Printed 7/9/88		  July 9, 1988				1