NAME
hostname - Local hostname configuration file
SYNOPSIS
/etc/hostname
DESCRIPTION
The /etc/hostname file configures the name of the local system that is set during boot using the sethostname(2) system call. It should contain a single newline-terminated hostname string. Comments (lines starting with a `#') are ignored. The hostname may be a free-form string up to 64 characters in length; however, it is recommended that it consists only of 7-bit ASCII lower-case characters and no spaces or dots, and limits itself to the format allowed for DNS domain name labels, even though this is not a strict requirement. You may use hostnamectl(1) to change the value of this file during runtime from the command line. Use systemd-firstboot(1) to initialize it on mounted (but not booted) system images.
HISTORY
The simple configuration file format of /etc/hostname originates from Debian GNU/Linux.
SEE ALSO
systemd(1), sethostname(2), hostname(1), hostname(7), machine-id(5), machine-info(5), hostnamectl(1), systemd-hostnamed.service(8), systemd- firstboot(1)
More Linux Commands
manpages/pam.3.html
pam(3) - Pluggable Authentication Modules Library (ManPage)
PAM is a system of libraries that handle the authentication tasks of applications (services) on the system. The library provides a stable general interface (App
manpages/last.1.html
last(1) - show listing of last logged in users (Man Page)...
Last searches back through the file /var/log/wtmp (or the file designated by the -f flag) and displays a list of all users logged in (and out) since that file w
manpages/neqn.1.html
neqn(1) - format equations for ascii output - Linux man page
The neqn program is actually just a shell script which invokes the eqn(1) command with the ascii output device. Note that eqn does not support low-resolution, t
manpages/hpftodit.1.html
hpftodit(1) - create font description files for use with gro
hpftodit creates a font file for use with a Hewlett-Packard LaserJet 4-series (or newer) printer with groff -Tlj4, using data from an HP tagged font metric (TFM
manpages/XSetScreenSaver.3.html
XSetScreenSaver(3) - manipulate the screen saver (Man Page)
Timeout and interval are specified in seconds. A timeout of 0 disables the screen saver (but an activated screen saver is not deactivated), and a timeout of -1
manpages/gnutls_openpgp_crt_get_key_id.3.html
gnutls_openpgp_crt_get_key_id(3) - API function (Man Page)
Get key id string. RETURNS the 64-bit keyID of the OpenPGP key. SINCE 2.4.0 REPORTING BUGS Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page: http://www.gnu
manpages/cciss.4.html
cciss(4) - HP Smart Array block driver - Linux manual page
cciss is a block driver for older HP Smart Array RAID controllers. Options cciss_allow_hpsa=1: This option prevents the cciss driver from attempting to drive an
manpages/gif2tiff.1.html
gif2tiff(1) create a TIFF file from a GIF87 format image fil
Gif2tiff converts a file in the GIF87 format to TIFF. The TIFF image is created as a palette image, with samples compressed with the Lempel-Ziv & Welch algorith
manpages/ldap_matchingrule2str.3.html
ldap_matchingrule2str(3) - Schema definition handling routin
These routines are used to parse schema definitions in the syntax defined in RFC 4512 into structs and handle these structs. These routines handle four kinds of
manpages/xtrapreset.1x.html
xtrapreset(1x) - XTrap sample clients - Linux manual page...
These commands are SAMPLE CLIENTS provided with the XTrap X Server Extension Sources, Version 3.3. XTrap is an X Server extension which facilitates the capturin
manpages/XkbGetControlsChanges.3.html
XkbGetControlsChanges(3) - Updates a local copy of a keyboar
XkbGetControlsChanges.3 - Whenever a field in the controls structure changes in the servers keyboard description, the server sends an XkbControlsNotify event to
manpages/open_wmemstream.3.html
open_wmemstream(3) - open memory as stream - Linux man page
The fmemopen() function opens a stream that permits the access specified by mode. The stream allows I/O to be performed on the string or memory buffer pointed t
