title: How can I search multiple files for a pattern in parallel and stop after the first search
body: <p>I was using <code>find folder/*/*/specific_folder -name "file*' -print 0 | xargs -0 -P 8 fgrep -m 1 --no -filename - A 1000 numberpattern | head -n 1</code> </p>
  
  <p>I want to parallely search for a string across multiple files and stop after the first match. </p>
  
  <p>How can I do so?</p>