Команда hostname
Set or print name of current host system. Additional information about the term hostname can be found on our hostname dictionary definition.
hostname [ name-of-host ]
| name-of-host | If proper privilege specifies the name of the host. |
hostname
Would display the name of the hostname for example: computerhope.