Sortix 1.1dev ports manual
This manual documents Sortix 1.1dev ports. You can instead view this document in the latest official manual.
HOSTNAME(1) | General Commands Manual | HOSTNAME(1) |
NAME
hostname — write or set system hostnameSYNOPSIS
hostname | [-s] [hostname] |
DESCRIPTION
hostname writes the system hostname, or sets the system hostname to hostname if specified. The options are as follows:- -s, --short
- Write the hostname up to but not including the first period.
EXIT STATUS
hostname will exit 0 on success and non-zero otherwise.SEE ALSO
gethostname(2), sethostname(2), hostname(5)March 19, 2017 | Debian |