title: mongodb script file
body: <p>I am newbie to mongodb.</p>
  
  <p>We can execute list of queries by specifying it in a script .sql file in relational db and can run it by running the command source c:\test.sql.</p>
  
  <p>How can we do that in mongodb? how to store those commands in mongodb script and how to execute in mongodb?</p>