jump to navigation

Using grep to search in files April 28, 2006

Posted by maxmil in : bash , trackback

This looks recursively for the text "my text string" in all files in /home and subdirectories

grep -r "my text string" /home/*

Note: If search string does not contain spaces quotes are not necessary.

Comments»

no comments yet - be the first?