Is there an easy way to search inside 1000s of files in a complex directory structure to find files which contain a specific string within the file?
grep -H -R searchstring /directory
may want to redirect the results to a file (or tee)
You may also want to look at ack
Yes, there is
grep. It has an option for recursive directory traversal, e.g.:
$ grep -r specificstring path
grep you can restrict the searched files with the
--exclude pattern options.
-H ('Print the file name for each match') is the default with
-R and when you specify multiple files on the command line.
-R also turns on recursive directory traversal but also follows symbolic links.
You can also pipe the results of
less for screen paging.