Re: hostname

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In /etc/hosts?

Just a thought.

Chris Norman
<!-- chris.norman4@xxxxxxxxxxxx -->
----- Original Message ----- 
From: "John Summerfied" <debian@xxxxxxxxxxxxxxxxxxxxxx>
To: "For users of Fedora Core releases" <fedora-list@xxxxxxxxxx>
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.





-- 

Cheers
John

-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxxxxxxxxx
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/

do not reply off-list

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux