title: How can I find all *.js file in directory recursively in Linux?
body: <p>In Linux, how can I find all <code>*.js</code> files in a directory recursively?  The output should be an absolute path (like <code>/pub/home/user1/folder/jses/file.js</code>)</p>
  
  <p><strong>this answer worked for me:</strong></p>
  
  <pre><code>find $PWD -name '*.js' &gt; out.txt
  </code></pre>
  
  <p>It finds all *.js files, output absolute path, writes the results into out.txt.</p>