hostname man page on OpenBSD

Man page or keyword search:  
man Server   11362 pages
apropos Keyword Search (all sections)
Output format
OpenBSD logo
[printable version]

HOSTNAME(1)		   OpenBSD Reference Manual		   HOSTNAME(1)

NAME
     hostname - set or print name of current host system

SYNOPSIS
     hostname [-s] [name-of-host]

DESCRIPTION
     The hostname utility is used to set or print the name of the current
     host.  If no argument is given, the name of the current host is printed.

     The host name can be set by the superuser either by specifying
     name-of-host, or by supplying a myname(5) file, which is used at system
     boot time by netstart(8) to initialize the hostname.

     The options are as follows:

     -s	     Trims off any domain information from the printed name.

SEE ALSO
     domainname(1), gethostname(3), myname(5), hostname(7), netstart(8)

HISTORY
     The hostname utility appeared in 4.2BSD.

OpenBSD 4.9		       January 24, 2011			   OpenBSD 4.9
[top]

List of man pages available for OpenBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net