</code>.
To run chains in parallel, put an ampersand (<code>&amp;</code>) at the end of the nested sampler command:</p>
<pre><code>&gt; for i in {1..4}
    do
      ./bernoulli sample data file=bernoulli.data.json \
      output file=output_${i}.csv &amp;
    done</code></pre>
<p>This pushes each process into the background which allows the loop to continue
without waiting for the current chain to finish.</p>
<p>On Windows, the DOS <a href="https://www.windows-commandline.com/windows-for-loop-examples/">for