I have thousands of .txt files I want to search for two certain keywords/pattern. I use this command for one pattern:
rg -t txt -i 'group of words'
How can I use silversearcher searching for two pattern at the same time and giving me only those txt files with the two pattern in it?
What I mean is that I look for pattern A and B in one txt file, but not just pattern A or B.