rust-hostname(1)

rust-hostname1

Display or set the system's host name.

Usage

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

Overview

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

v0.0.30

From rust-coreutils 0.0.30-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.