Scroll to navigation

HOSTNAME(1) User Commands HOSTNAME(1)

NAME

hostname - manual page for hostname 0.0.6

DESCRIPTION

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

USAGE:

hostname [OPTION]... [HOSTNAME]

FLAGS:

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

ARGS:

<host>

SEE ALSO

The full documentation for hostname is maintained as a Texinfo manual. If the info and hostname programs are properly installed at your site, the command

info hostname

should give you access to the complete manual.

April 2021 hostname 0.0.6