Команда 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-hostIf proper privilege specifies the name of the host.

Примеры

hostname

Would display the name of the hostname for example: computerhope.

Обратно к списку команд