Wednesday, September 29, 2010

How to find name of file containing two or more different strings?

ls | xargs grep -l 'UPDATE TAB1\|WHERE ID=1\|DELETE TAB1\|WHERE ID=10' *.sql

No comments:

Post a Comment