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

Re: Resolution & recovery: Re: Slow disk - hdparm, S.M.A.R.T, badblocks, what else?



on Sat, Jul 10, 2004 at 08:22:48PM -0500, Jacob S. (stormspotter@6texans.net) wrote:
> On Sat, 10 Jul 2004 20:03:32 -0500
> "Jacob S." <stormspotter@6texans.net> wrote:
> 
> > On Sat, 10 Jul 2004 17:41:58 -0700
> > "Karsten M. Self" <kmself@ix.netcom.com> wrote:
> > 
> > <snip>
> > >   - The 'Knoppix' hostname worked its way into a few config files.
> > >   
> > >       # find /etc -type f -print0 | xargs -0 grep -il knoppix
> > > 
> > >     ...and clean those up.
> > 
> > One question, in hopes that I can learn something; what does the above
> > command gain you that "grep -ril knoppix" wouldn't?
>                          ^^^^^^^^^^^^^^^^^
> Oops. That was supposed to be "grep -ril knoppix /etc".

Yeah, I know.

Mostly that find / xargs is burned into my brain and fingers.  I keep
forgetting that there's a recursive grep.


Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
    Life is pain, Highness. Anyone who says differently is selling something.
    - Princess Bride

Attachment: signature.asc
Description: Digital signature


Reply to: