*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: hostname | Section: 1 | Source: Digital UNIX | File: hostname.1.gz
hostname(1) General Commands Manual hostname(1) NAME hostname - Sets or displays the name of the current host system SYNOPSIS hostname [-s] [new_name] DESCRIPTION The hostname command sets or displays the name of the current host sys- tem. If you use the -s option, the short form of the host name is dis- played. Only the superuser can set the hostname. EXAMPLES To display the short form of the local host name, enter: $ hostname -s host1 To change the name of the local host, enter: # hostname west FILES Defines the Interface Program name and address of the local host. SEE ALSO Commands: hostid(1) Functions: gethostname(2), sethostname(2) hostname(1)

Navigation Options