<p>I'm looking for the basic loop like:</p>
<pre><code>for(int i = 0; i &lt; MAX; i++) {
  doSomething(i);
}
</code></pre>
<p>but for Bash.</p>

From
this site
:
```
```
for i in $(seq 1 10);
do
    echo $i
done
```
```