From mboxrd@z Thu Jan 1 00:00:00 1970 From: urgrue Subject: Re: Questions! Date: Thu, 1 Apr 2004 10:50:37 +0300 Sender: linux-admin-owner@vger.kernel.org Message-ID: <20040401075037.GA31323@fede2.tumsan.fi> References: <003d01c4175e$d5296100$020aa8c0@Scott> <015d01c41760$343c8fe0$2a6156d1@DF69MK11> <16491.17657.837738.18592@cerise.nosuchdomain.co.uk> Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: Content-Disposition: inline In-Reply-To: <16491.17657.837738.18592@cerise.nosuchdomain.co.uk>; from glynn.clements@virgin.net on Thu, Apr 01, 2004 at 01:23:31 +0300 List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: admin i always simply use: grep -r index.html /some/path/* > Hal Wigoda wrote: > > > 2) find -print -type f | xargs grep -l index.html > > Or, if you need to handle filenames which contain whitespace > characters: > > find -type f -print0 | xargs -0 grep -l index.html > > -- > Glynn Clements > - > To unsubscribe from this list: send the line "unsubscribe linux- > admin" > in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > >