title: Bash exec in infinite while loop doesn't work
body: <pre><code>#!/bin/bash 
  while :
  do
      echo twerkin
      exec free -h &gt; /ver/www/raspberry/load.txt
      exec /opt/vc/bin/vcgencmd measure_temp &gt; /var/www/raspberry/heat.txt
  done
  </code></pre>
  
  <p>This is what I made, I am going to read it on my website, but thats not the problem. The problem is that it gives me this error:</p>
  
  <pre><code>pi@raspberrypi ~ $ sh showinfo.sh
  showinfo.sh: 7: showinfo.sh: Syntax error: "done" unexpected (expecting "do")
  </code></pre>
  
  <p>I'm running this on my raspberry pi with Raspbian (Debian Wheezy)</p>