logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

hostname — show or set the system host name

Description

       Show the system's host name, or set it if name is specified.

Name

       hostname — show or set the system host name

Options

-a, --aliases
               Also show aliases for the host name.

       -d, --domain
               Show the DNS domain name.

       -f, --fqdn, --long
               Show the DNS host name or FQDN.

       -F, --filefile
               Set the host name or NIS domain name from file.

       -i, --ip-addresses
               Show the addresses for the host name.

       -s, --short
               Show the short host name.

       -y, --yp, --nis
               Show the NIS/YP domain name.

       -?, --help
               Give this help list.

       --usage
               Give a short usage message.

       -V, --version
               Print program version.

GNU Network Utilities                           February 1, 2019                                     hostname(1)

Synopsis

hostname [option...] [name]

See Also