Wednesday, January 11, 2012

find "path to search" -type f -exec grep -i "phrase to find" {} \; -print

Linux command to do recursive file search looking inside files starting at "path to search"

Very good for searching source files to track down error messages

Cant see how people live without this. Running a reindex operation using a search product takes too long.

No comments:

Post a Comment