*nix: find all logs with "error" keyword in it

find . -name "*.log" -exec grep -qi "error " '{}' \; -print

No comments:

Post a Comment