Run all shell scripts in folder
<p>I have many <code>.sh</code> scripts in a single folder and would like to run them one after another. A single script can be executed as:</p>
<pre><code>bash wget-some_long_number.sh -H
</code></pre>
<p>Assume my directory is <code>/dat/dat1/files</code></p>
<p>How can I run <code>bash wget-some_long_number.sh -H</code> one after another?</p>
<p>I understand something in these lines should work:</p>
<p><code>for i in *.sh;...do ....; done</code></p>