| HOSTNAME(1) | General Commands Manual | HOSTNAME(1) |
NAME
hostname - Display or set the system's host name.
SYNOPSIS
hostname [OPTION]... [HOSTNAME]
DESCRIPTION
Display or set the system's host name.
OPTIONS
- -d, --domain
- Display the name of the DNS domain if possible
- -i, --ip-address
- Display the network address(es) of the host
- -f, --fqdn
- Display the FQDN (Fully Qualified Domain Name) (default)
- -s, --short
- Display the short hostname (the portion before the first dot) if possible
- -h, --help
- Print help
- -V, --version
- Print version
- [host]
VERSION
v(uutils coreutils) 0.11.0
| 2026-09-01 |