Q. How do you find files which do not contain a specific pattern say 'ORA-'
A. You can use below command
find . -name "*log" \! -exec grep -q "ORA-" {} \; -print
Posted 11 months ago
#





Q. How do you find files which do not contain a specific pattern say 'ORA-'
A. You can use below command
find . -name "*log" \! -exec grep -q "ORA-" {} \; -print
You must log in to post.