Mailing List Archive

Support open source code!


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

Re: tlug: Grep for subdirectories?



>>>>> On Sun, 04 Oct 1998 20:39:02 +0900, Neil Booth <NeilB@example.com> said:
> 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.

(1) find . -type f -exec grep /search_string/ {} \; -print
(2) find . -type f -print | xargs grep /search_string/
 .
 .
 .
(n) Use kfind from KDE :-)

-- 
Hiroshi Hasebe

---------------------------------------------------------------
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


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links