file grep multiple files code example Example: grep in multiple files grep -E 'fatal|error|critical|failure|warning|' *.log