grep and AND Operator!

This achieves what an AND operator should have done in grep!

for i in $(grep -l string1 /path/to/files/*)
  do
    grep -l string2 $i
  done

Comments

Popular posts from this blog

Künefe Tarifi

Bir Word Belgesinde Kapak Harici Kaç sayfa Olduğunu Bulmak