title: How to ls all the files in the subdirectories using wildcard?
body: <p><code>ls *</code> can list all the files in the <strong>subdirectories</strong>.</p>
  
  <p><code>ls *.pdb</code> can only list all the files with extension <code>pdb</code> in the <strong>current</strong> directory.</p>
  
  <p>So how to list all the files with extension <code>pdb</code> in the <strong>subdirectories</strong>?</p>
  
  <p>My subdirectories are named as <code>1</code>, <code>2</code>, <code>3</code>, .... I would like the output also include the directory information, so that I can use the output as an ensemble of input files. For example, the output should be like:</p>
  
  <p><code>1/a.pdb 1/b.pdb 1/c.pdb 2/a.pdb 2/b.pdb 2/c.pdb 3/a.pdb 3/b.pdb 3/c.pdb</code></p>