title: How do I use Head and Tail to print specific lines of a file
body: <p>I want to say output lines 5 - 10 of a file, as arguments passed in.</p>
  
  <p>How could I use <code>head</code> and <code>tail</code> to do this?</p>
  
  <p>where <code>firstline = $2</code> and <code>lastline = $3</code> and <code>filename = $1</code>.</p>
  
  <p>Running it should look like this:</p>
  
  <pre><code>./lines.sh filename firstline lastline
  </code></pre>