title: User input choice with either head or tail command
body: <p>I want to prompt a user via command line &amp; ask what specific rows need to be cut from a data file using either head or tail. My script will employ head and tail using the inputs as variables for both head and tail commands. This is what I have thus far along with the error message: </p>
  
  <pre><code>echo -n "What rows need to be cut from your data file: "
  read before
  read after
  head -n $before /home/rent_list
  tail -n $after /home/rent_list 
  </code></pre>
  
  <p>Error message:</p>
  
  <pre><code>-bash: ./rent_list: bin/bash: bad interpreter: No such file or directory
  </code></pre>
  
  <p><strong>Update:</strong> This is what I am getting now:</p>
  
  <pre><code> What rows need to be cut from your data file: 4
  
  Mack Tools  Milwaukee Wisconsin mj414@yahoo.com 414 2248893
  Terry Tools Orlando Florida 407@yahoo.com 407 2439812
  Park Tools  Riviera Beach Florida tp123@hotmail.com 516 5370923
  Bike Tools  Orlando Florida baptiste41@gmail.com 407 3420983
  tail: /home/renter_list: invalid number of lines
  </code></pre>