Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

grep contains two strings

grep "search_string_1" .file_name.txt | grep -iF "search_string_2"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #grep #strings
ADD COMMENT
Topic
Name
3+5 =