Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

grep in multiple files

grep -E 'fatal|error|critical|failure|warning|' *.log
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #grep #multiple #files
ADD COMMENT
Topic
Name
8+6 =