Posted By

troyaner on 07/17/11


Tagged

grep find


Versions (?)

find string in files


 / Published in: Bash
 

  1. grep -lir "qwe"
  2. grep -lir "mod.*" ./log*
  3. find ./ -name log* -exec grep -l qwe {} \;

Report this snippet  

You need to login to post a comment.