title: Unix - how to source multiple shell scripts in a directory?
body: <p>when I want to execute some shell script in Unix <em>(and let's say that I am in the directory where the script is)</em>, I just type:</p>
  
  <pre><code>./someShellScript.sh
  </code></pre>
  
  <p>and when I want to <strong>"source"</strong> it <em>(e.g. run it in the current shell, NOT in a new shell)</em>, I just type the same command just with the <strong>"."</strong> (or with the "source" command equivalent) before it:</p>
  
  <pre><code>. ./someShellScript.sh
  </code></pre>
  
  <p><br/>
  And now the tricky part. When I want to execute <strong>"multiple"</strong> shell scripts <em>(let's say all the files with .sh suffix)</em> in the current directory, I type:</p>
  
  <pre><code>find . -type f -name *.sh -exec {} \;
  </code></pre>
  
  <p>but <strong>"what command should I use to "SOURCE" multiple shell scripts in a directory"</strong>?<br/>
  I tried this so far but it DIDN'T work:</p>
  
  <pre><code>find . -type f -name *.sh -exec . {} \;
  </code></pre>
  
  <p>and it only threw this error:</p>
  
  <pre><code>find: `.': Permission denied
  </code></pre>
  
  <p><br/>
  Thanks.</p>