Tuesday, January 8, 2013

AIX find a string in files


To find the string "str" in all files ending with "java" in the current folder (.),

            find . -name '*java' -exec grep -i 'str' {} \; -print


No comments:

Post a Comment