hostname

Show or set the system's host name. Show current host…

hostname

Show or set the system's host name.

hostname

hostname -i

hostname -I

hostname --fqdn

hostname {{new_hostname}}

Также может быть вам интересно:
LinuxFreeBSDТрюки BashТерминал/Консоль
← homeshick hostnamectl →