Unix and Linux Discussions Tagged with hostname |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
1,381 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
6,589 |
IP Networking |
|
|
|
2 |
3,402 |
UNIX for Dummies Questions & Answers |
|
|
|
11 |
3,654 |
Shell Programming and Scripting |
|
|
|
6 |
6,687 |
AIX |
|
|
|
2 |
2,655 |
UNIX for Advanced & Expert Users |
|
|
|
5 |
10,119 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
2,187 |
Solaris |
|
|
|
1 |
2,965 |
Solaris |
|
|
|
1 |
2,844 |
UNIX for Dummies Questions & Answers |
|
|
|
15 |
43,020 |
IP Networking |
|
|
|
12 |
18,160 |
IP Networking |
|
|
|
9 |
11,968 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
12,476 |
Solaris |
|
|
|
3 |
11,185 |
Solaris |
|
|
|
3 |
3,918 |
UNIX for Dummies Questions & Answers |
|
|
|
9 |
12,434 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
5,948 |
IP Networking |
|
|
|
3 |
5,862 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
14,748 |
Shell Programming and Scripting |
|
|
|
1 |
4,355 |
Shell Programming and Scripting |
|
|
|
7 |
4,669 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
6,005 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
7,325 |
UNIX for Advanced & Expert Users |
|
|
|
8 |
5,916 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
7,347 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
5,746 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,957 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,633 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,002 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,808 |
UNIX for Dummies Questions & Answers |
|
|
|
15 |
20,029 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,561 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,157 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,108 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
8,027 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
16,016 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,554 |
UNIX for Dummies Questions & Answers |
|
|
|
11 |
13,284 |
IP Networking |
|
|
|
3 |
7,007 |
UNIX for Dummies Questions & Answers |
HOSTNAME(5) /etc/hostname HOSTNAME(5)
NAME
hostname - Local host name configuration file
SYNOPSIS
/etc/hostname
DESCRIPTION
The /etc/hostname file configures the name of the local system that is set during boot, with the sethostname(2) system call. It should
contain a single newline-terminated host name string. The host name may be a free-form string up to 64 characters in length, however it is
recommended that it consists only of 7bit ASCII lower-case characters and no spaces or dots, and limits itself to the format allowed for
DNS domain name labels, even though this is not a strict requirement.
Depending on the operating system other configuration files might be checked for configuration of the host name as well, however only as
fallback.
HISTORY
The simple configuration file format of /etc/hostname originates from Debian GNU/Linux.
SEE ALSO
systemd(1), sethostname(2), hostname(1), hostname(7), machine-id(5), machine-info(5)
AUTHOR
Lennart Poettering <lennart@poettering.net>
Developer
systemd 10/07/2013 HOSTNAME(5)