MongoDB Shell Guide – Operations and Commands

After getting introduced to MongoDB and installing the server, we are now ready to delve into the details of this NoSQL database.

In this lesson we will go through most of the commands and queries supported by MongoDB using its shell. Each section is dedicated to particular aspect of MongoDB: we start off from Shell Command Helpers, then look at Databases, Collections and Documents, move to Queries and Aggregations, and finish up with Server specific commands.

MongoDB shell is the best tool out there to discover MongoDB features and manage every single aspect of your server deployments, instances, databases, collections and documents. It is based on JavaScript language for executing command and queries.

Get started here