Searching within files

Is there in Linux an application that searches inside groups of files for a text fragmentsupplied by the user – similar to the indexing service in windows?

Thanks
Swerdna

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Um… ‘grep’ comes to mind quickly, possibly ‘find’ too though ‘grep’
was made for the task. Beagle is the GUI version of the same, though
it’s a bit intensive at times and indexes before you search, but when
it’s working and not using a lot of your system resources the search is
pretty neat… covers a million file formats, etc.

Good luck.

swerdna wrote:
> Is there in Linux an application that searches inside groups of files
> for a text fragmentsupplied by the user – similar to the indexing
> service in windows?
>
> Thanks
> Swerdna
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI5E+j3s42bA80+9kRAiztAJ0VaI6QTch6gdRX+Lyeh6AYMWf7oACeJFfd
L0xEWYuA9s0csE1qfolE508=
=9nz3
-----END PGP SIGNATURE-----

Yay grep! I hate Beagle on old machines. Inside a directory where you wish to find the text string, do this:

grep "text fragment" ./*.html

This will find “text fragment” in every file in the current directory which ends in “.html”.

Thanks guys – looking into it.

I deleted Beagle approx 18 months ago to free up the resources, but I’ll try it again. Also, will check out grep.