title: linux + what the best way to merge files
body: <p>I have the following files ( more then 80 files ) under /var/tmp  directory</p>
  
  <pre><code> report1.txt
   report2.txt
   report3.txt
   .
   .
   .
   .
   .
  </code></pre>
  
  <p>What the best way to merge all the files: <strong>report[1-N].txt</strong> to one single file</p>
  
  <p>For now I do the following steps in order to merge all files to one file ( but this way isn’t elegant way .. )</p>
  
  <pre><code>cat report1.txt &gt;&gt; report2.txt
  cat report2.txt &gt;&gt; report3.txt
  .
  .
  .
   .
  </code></pre>