title: echo "." until command finishes executing
body: <p>I am currently trying to figure out how to make bash draw a series of dots across the screen (kind of like a progress indicator) until a command finishes executing. For example, say I want to draw dots for a wget download:</p>
  
  <pre><code>wget -s http://url.tar.gz
  until "above command has finished executing"; do
      echo -n "."
      sleep 0.05s
  done
  </code></pre>
  
  <p>Can I use "$!" or "$?" to help solve this?</p>
  
  <p>Thank you for the help!</p>