Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: tlug: Grep for subdirectories?
- To: tlug <tlug@example.com>
- Subject: Re: tlug: Grep for subdirectories?
- From: Scott Stone <sstone@example.com>
- Date: Mon, 5 Oct 1998 09:40:08 +0900 (JST)
- Content-Type: TEXT/PLAIN; charset=US-ASCII
- In-Reply-To: <36175E56.CF2B701@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
On Sun, 4 Oct 1998, Neil Booth wrote: > How do I get grep to search recursively through subdirectories? I > haven't been able to find a way of searching anything but the current > directory. try: find . -type f | xargs grep 'substring' that will recursively find everything starting at '.', the current directory, and grep it for 'substring'. the '-type f' means look through regular files only. Add '-follow' before '-type f' if you want it to follow symlinks, too (useful when grepping through header files in /usr/include). > > Thanks, > > Neil > > ------------------------------------------------------- > Pile up the benefits that accrue from studying by > the light of fireflies reflected on the snow... > --------------------------------------------------------------- > Next Meeting: 10 October, 12:30 Tokyo Station Yaesu central gate > Featuring the IMASY Eng. Team on "IPv6 - The Next Generation IP" > Next Nomikai: 20 November, 19:30 Tengu TokyoEkiMae 03-3275-3691 > --------------------------------------------------------------- > Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp > -------------------------------------------------- Scott M. Stone <sstone@example.com, sstone@example.com> <sstone@example.com> Head of TurboLinux Development/Systems Administrator Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan) http://www.pht.com http://armadillo.pht.co.jp http://www.pht.co.jp http://www.turbolinux.com --------------------------------------------------------------- Next Meeting: 10 October, 12:30 Tokyo Station Yaesu central gate Featuring the IMASY Eng. Team on "IPv6 - The Next Generation IP" Next Nomikai: 20 November, 19:30 Tengu TokyoEkiMae 03-3275-3691 --------------------------------------------------------------- Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp
- Follow-Ups:
- Re: tlug: Grep for subdirectories?
- From: Darren Cook <darren@example.com>
- References:
- tlug: Grep for subdirectories?
- From: Neil Booth <NeilB@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: tlug: TurboLinux 2.0J and kernel-2.1?
- Next by Date: Re: tlug: Running X with Riva128
- Prev by thread: Re: tlug: Grep for subdirectories?
- Next by thread: Re: tlug: Grep for subdirectories?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links