Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
HOSTNAME(1)		    General Commands Manual		   HOSTNAME(1)

NAME
       hostname	- set or print name of current host system

SYNOPSIS
       hostname	[ name-of-host ]

DESCRIPTION
       The  hostname command prints the	name of	the current host, as given be-
       fore the	"login"	prompt.	 The super-user	can set	the hostname by	giving
       an argument; this is usually done in the	startup	script /etc/rc.local.

FILES
       /etc/rc.local

SEE ALSO
       gethostname(2)

			       9 September 1987			   HOSTNAME(1)

NAME | SYNOPSIS | DESCRIPTION | FILES | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=hostname&sektion=1&manpath=SunOS+4.1.3>

home | help