Files
tldr/pages.ru/common/hostname.md

25 lines
590 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# hostname
> Показ и изменение системного имени хоста.
> Больше информации: <https://manned.org/hostname>.
- Показать имя хоста:
`hostname`
- Показать сетевой адрес, соответствующий имени хоста:
`hostname -i`
- Показать все сетевые адреса хоста:
`hostname -I`
- Показать полное доменное имя (FQDN, Fully Qualified Domain Name):
`hostname --fqdn`
- Задать имя хоста:
`hostname {{новое_имя}}`