Umarzuki Mochlis <[EMAIL PROTECTED]>:
> 
>  Why that must be, I mean when changing the hostname with hostname
>  command, we also sometimes need to do the same with /etc/hosts else
>  something weird would happen. Does the command hostname writes
>  somewhere else other than /etc/hosts?

man hostname:

    The  host  name is usually set once at system startup in
    /etc/rc.d/rc.inet1 or /etc/init.d/boot (normally by reading the
    contents of a file which contains the host name, e.g.
    /etc/hostname).


Please turn off HTML multipart and post text only.  :-)


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)    http://blinkynet.net/comp/uip5.html      Linux Counter #80292
- -    http://www.faqs.org/rfcs/rfc1855.html    Please, don't Cc: me.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to