title: macOs bash/terminal command to open terminal, change directory and run command
body: <p>I am writing what I assume is pretty easy bash script file. Although I cannot seem to do the following combination:</p>
  
  <blockquote>
    <p>open new terminal instance > cd to directory > run command in that terminal instance</p>
  </blockquote>
  
  <p>I got as far as:</p>
  
  <p><code>open -b com.apple.terminal /path/I/want/</code></p>
  
  <p>but if I try something like:</p>
  
  <p><code>open -b com.apple.terminal /path/I/want/ &amp;&amp; /path/to/command someCommand</code></p>
  
  <p>It runs in the original window instance and not the new one. Tried some other variations of that as well with no success</p>