Showing posts with label grep. Show all posts
Showing posts with label grep. Show all posts

Friday, June 26, 2009

Another useful unix command to find text in many files

find . -type f -exec grep -il "text to find" {} \;

Will give you a list of all the files that contain "text to find", starting with your current directory and searching all sub-directories.