title: Unix command to list all the files and directories in the current directory whose second character is a digit
body: <p>My code for this is
  <code>ls | grep .[0-9]*</code></p>
  
  <p>And the output is showing as</p>
  
  <pre><code>d2
  d4
  di3
  dir1
  f1
  f2
  fil4
  file3
  g2t
  g3t
  </code></pre>
  
  <p>The expected output is</p>
  
  <pre><code>d2
  d4
  f1
  f2
  g2t
  g3t
  </code></pre>
  
  <p>I know i can directly use <code>ls ?[0-9]</code> but then my output order is different</p>
  
  <pre><code>f1  f2  g2t  g3t
  
  d2:
  
  d4:
  </code></pre>