title: Is there a better way to run a command N times in bash?
body: <p>I occasionally run a bash command line like this:</p>
  
  <pre><code>n=0; while [[ $n -lt 10 ]]; do some_command; n=$((n+1)); done
  </code></pre>
  
  <p>To run <code>some_command</code> a number of times in a row -- 10 times in this case.</p>
  
  <p>Often <code>some_command</code> is really a chain of commands or a pipeline.</p>
  
  <p>Is there a more concise way to do this?</p>