Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

grep and

grep -E 'pattern1.*pattern2' filename
grep -E 'pattern1.*pattern2|pattern2.*pattern1' filename
Source by www.thegeekstuff.com #
 
PREVIOUS NEXT
Tagged: #grep
ADD COMMENT
Topic
Name
1+1 =