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

Re: Find every instance of hostname



On Sat, 2006-08-26 at 07:48 +0100, Anne Wilson wrote:
> I have a small problem on my laptop which springs from the sender of an email 
> being set as logwatch.localhost.localdomain.  I have so far been unable to 
> find which config file needs editing to get the correct hostname, so I'd like 
> to be able to search this box, where everything is fine, for config files 
> that contain the box's hostname.  I could then check the list against the ones 
> on the laptop.
> 
> It should be simple enough to do using find and grep, but I can't get a 
> command that gives me the output I need.  How can I do it?
> 
> Anne
> 
try gnome-search-tool , even if you have to yum install it. KDE has one
also whose name escapes me.
--
=======================================================================
The trouble with opportunity is that it always comes disguised as hard
work. -- Herbert V. Prochnow
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam sbcglobal net


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