title: BASH Shell Infinite loop with IF ELSE Statment
body: <p>Ok I know I've asked a similar question, I understand how to do an infinate loop:</p>
  
  <pre><code>while [ 1 ]
  do
      foo
      bar
          then
  sleep 10
  done
  </code></pre>
  
  <p>But if I want to run some (quite a few) IF ELSE Statements in this loop how would I get the script to carry on looping once they had completed how would I go about this?</p>