<DIV id=RTEContent><B><I><A href="mailto:akonstam@trinity.edu">akonstam@trinity.edu</A></I></B> wrote:  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">  <div>On Wed, Feb 01, 2006 at 04:22:07PM -0500, CodeHeads wrote:<BR>> On Wed, 2006-02-01 at 20:49 +0000, Anne Wilson wrote:<BR>> > On Wednesday 01 Feb 2006 20:41, CodeHeads wrote:<BR>> > ><BR>> > > How about this:<BR>> > ><BR>> > > $du -a <PATH>| grep <FILE><BR>> > ><BR>> > > This works well for me.<BR>> > <BR>> > That returns files with the string in the name, I believe. I need files <BR>> > with the string in the body.<BR>> > <BR>> > Anne<BR>> <BR>> oooppss sorry Anne :) I was confused. LOL<BR>> -- <BR>I had two suggestions:<BR>1. gnome-search-tool<BR>2. find ./ -name "*" -exec grep "string" {} /dev/null \;<BR><BR>Someone suggested even a better command solution than 2. !
above but
 I<BR>can't remember what it is.<BR>-- <BR><BR>Actually, find is recursive by nature so there is no need to use filename expansion metacharacters (such as * ) if one is searching in all files. So. . . if you are searching for text, rather than digits . . .</div>  <div> </div>  <div>#  cd /dir  (could be / if you need to search all mounted files systems)</div>  <div>#  find . -type f  -exec grep -i "string" {} /dev/null \;           OR</div>  <div> </div>  <div>#  find . -type f  -exec egrep -i "string|string|string" {} \;  </div>  <div>   If you are searching for multiple patterns.  OR</div>  <div> </div>  <div># find . -name '*.txt' -type f -exec grep -i "string" {} \;</div>  <div>If you are searching only in files with a .txt. extention.<BR>--</div>  <div>Nix</div></BLOCKQUOTE></DIV>