Return to Snippet

Revision: 54214
at December 15, 2011 02:29 by luizlopes

Initial Code
find . -name “filenames” -exec grep -i -H -n ‘texttofind’ {} \;

Initial URL

Initial Description
Fast and easy way to find a keyword inside of files located inside of a directory tree. (eg: looking for a function foo, inside of your applications directory.) This command will display a list of files which contain function foo.

Initial Title
Search for keyword in files inside of directory

Initial Tags
search, ubuntu, find

Initial Language