Skip to main content.

Archives

This is the archive for 23 February 2011

Wednesday, February 23, 2011

To find a string in the files under a directory:


for file in `find . `; do if [ -n "`grep "mysql" $file`" ]; then echo $file; fi; done