grep one of two file with same pattern code example Example: grep in multiple files grep -E 'fatal|error|critical|failure|warning|' *.log