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.
Showing posts with label grep. Show all posts
Showing posts with label grep. Show all posts
Friday, June 26, 2009
Subscribe to:
Posts (Atom)