Scroll to navigation

hostname(1) General Commands Manual hostname(1)

NAME

hostname - Display or set the system's host name.

SYNOPSIS

hostname [-d|--domain] [-i|--ip-address] [-f|--fqdn] [-s|--short] [-h|--help] [-V|--version] [host]

DESCRIPTION

Display or set the system's host name.

OPTIONS

Display the name of the DNS domain if possible
Display the network address(es) of the host
Display the FQDN (Fully Qualified Domain Name) (default)
Display the short hostname (the portion before the first dot) if possible
Print help
Print version
[host]

VERSION

v0.0.26

hostname 0.0.26