title: Bash, sort after using tail
body: <p>I perform a tail on 3 files and then create a new file, when I go to sort this new file it says it cannot be accessed. So in the code $a,$b and $c are text files. So how can i get this to sort the new file?</p>
  
  <pre><code>tail -q -n -5 $a $b $c &gt; file.txt
  sort file.txt -o file.txt
  </code></pre>