title: How to invoke bash, run commands inside the new shell, and then give control back to user?
body: <p>This must either be really simple or really complex, but I couldn't find anything about it... I am trying to open a new bash instance, then run a few commands inside it, and give the control back to the user <em>inside that same instance</em>.</p>
  
  <p>I tried:</p>
  
  <pre><code>$ bash -lic "some_command"
  </code></pre>
  
  <p>but this executes <code>some_command</code> inside the new instance, then closes it. I want it to stay open.</p>
  
  <p>One more detail which might affect answers: if I can get this to work I will use it in my <code>.bashrc</code> as alias(es), so bonus points for an <code>alias</code> implementation!</p>