MongoDB Shell

MongoDB is known as a document oriented database server. In a more simple words, we can define it as an open source database server product which is used for document oriented storage. MongoDB allows interaction with MongoDB instance with the help of a JavaScript shell that was found to be useful for performing administrative functions and running instances. This type of interaction is done from the command line. The MongoDB JavaScript shell is a full-featured JavaScript interpreter and is capable of running Arbitrary JavaScript program.

Steps to run the shell:

Running MongoDB shell is a simple and easy two step process.

  • Run command prompt as an administrator.
  • Run the mongo executable $ mongo.
Please follow and like us:
Content Protection by