title: Bash script listen for key press to move on
body: <p>So, I want to write a bash script that are a sequence of steps and ill identify it as "task#". However, each step is only completed and can run as long as the user wants.</p>
  
  <pre><code>Do task1
  if keypressed stop task1 and move on #this is the part I need help with. There can be up to 10 of these move on steps. 
  Do task2
  ...
  </code></pre>
  
  <p>kina like top; it keeps doing stuff until you hit q to quite, however, i want to move on to the next thing</p>