sorry, but that is NOT correct either. he is looking for files that content the string "index.html" within the file, NOT the file name. ----- Original Message ----- From: "urgrue" <urgrue@xxxxxxxxx> To: "admin" <linux-admin@xxxxxxxxxxxxxxx> Sent: Thursday, April 01, 2004 1:50 AM Subject: Re: Questions! > i always simply use: > grep -r index.html /some/path/* > > > > Hal Wigoda wrote: > > > > > 2) find <dirname> -print -type f | xargs grep -l index.html > > > > Or, if you need to handle filenames which contain whitespace > > characters: > > > > find <dirname> -type f -print0 | xargs -0 grep -l index.html > > > > -- > > Glynn Clements <glynn.clements@xxxxxxxxxx> > > - > > : send the line "unsubscribe linux- > > admin" > > in > > the body of a message to majordomo@xxxxxxxxxxxxxxx > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > > > - > : send the line "unsubscribe linux-admin" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > - : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html