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