title: How to copy files using wildcards in Unix
body: <p>How can I copy files to current directory (using wildcards) which names are matches following rules:</p>
  
  <ol>
  <li>start with the word <code>file</code></li>
  <li>after that word have one or more numbers</li>
  <li>after the numbers have <code>.txt</code> extension</li>
  </ol>
  
  <p>I tried:</p>
  
  <p><code>$ cp path_name/file[0-9].txt ./</code> </p>
  
  <p>Here are some examples of the files I want to copy: </p>
  
  <pre><code>file1.txt  
  file45.txt  
  file5642.txt 
  </code></pre>