hostname

Levent Duymus levent at levent.web.tr
Wed Mar 1 23:36:04 UTC 2006


# vi  /etc/sysconfig/network
then change the value of HOSTNAME variable.
Chris Norman wrote:

>In /etc/hosts?
>
>Just a thought.
>
>Chris Norman
><!-- chris.norman4 at ntlworld.com -->
>----- Original Message ----- 
>From: "John Summerfied" <debian at herakles.homelinux.org>
>To: "For users of Fedora Core releases" <fedora-list at redhat.com>
>Sent: Wednesday, March 01, 2006 9:25 PM
>Subject: Re: hostname
>
>
>azeem ahmad wrote:
>  
>
>>hi list
>>i set the hostname using the command
>>hostname
>>but when i restart i gets back to the old hostname
>>how can i change it permanently
>>Regards
>>Azeem
>>    
>>
>
>This is more general than other answers I've seen, it's how I find stuff.
>sudo find /etc -type f -print0 | sudo xargs -0 grep -H $HOSTNAME
>
>You need to be root because some of the directories are forbidden to 
>mere mortals.
>
>
>
>
>
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060302/34061920/attachment-0001.htm>


More information about the fedora-list mailing list