Hostname ??

- Edwin - copperwa11s at yahoo.co.jp
Wed Feb 18 12:46:39 UTC 2004


On 2004/02/18, at 19:02, Jos Vos wrote:

> On Wed, Feb 18, 2004 at 06:58:05PM +0900, - Edwin - wrote:
>
>> Try executing:
>>
>>   # hostname <your-hostname-here>
>>
>> Check the manual for more info:
>>
>>   $ man hostname
>>
>> Or, check your /etc/hosts file ...
>
> Not!  The hostname is in /etc/sysconfig/network, not in /etc/hosts
> (that is, the hostname is also listed in /etc/hosts, but not taken
> from that file.

You're right! (What was I thinking...)

> With the "hostname" command, you only set the hostname till the
> next reboot.

Reboot? ;-)

--

- E -





More information about the users mailing list