title: How to run multiple mongo db commands in bash script without using javascript?
body: <p>Command below works</p>
  
  <pre><code>mongo --host mymongoserver &lt; myscript.js
  </code></pre>
  
  <p>But I don't want to split my logic between 2 files :|</p>