Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

grep not multiple patterns

#Just use 'v' option to deny pattern in search and 'E' for multiples patterns
grep -Ev 'pattern1|pattern2|pattern3' filename.txt
 
PREVIOUS NEXT
Tagged: #grep #multiple #patterns
ADD COMMENT
Topic
Name
3+3 =