title: How to execute bash script in same shell
body: <p>I have a bash script which is calling three different commands and that execution must happen in one shell. I got it by adding &amp;&amp; after each command like as follows-</p>
  
  <pre><code>CMD1 &amp;&amp; CMD2 &amp;&amp; CMD3
  </code></pre>
  
  <p>Now what i need is- lets say i open a terminal on my MAC machine, all commands should run in open shell not in new sub-shell.</p>
  
  <p>As a side note- CMD1 is actually a source command to my project directory which is a bash script which sets all the environment variable for running server. </p>