title: how to search for a line match from all files recursively found in a directory
body: <p>Using linux commands, is there any way to know which file has the given line of code from a given project directory?</p>
  
  <p>All directories are traced recursively for all files in subdirectories as well.</p>
  
  <p>say your project is in <code>php</code> and is in directory <code>/var/www/projectDir/</code></p>
  
  <p>and the line to be searched is <code>public function getProjectData(</code> to know where (in which file lying in which subdirectory ) <code>getProjectData</code> php function is defined?</p>