Unit 1 Part2
Unit 1 Part2
► 3. Once you give this command and press enter, it will open
MongoDB Shell and you can type the MongoDB related
commands, as shown in the following screenshot:
Connecting to MongoDB Shell
► 4. To test further, issue the following MongoDB command and press Enter, as
shown in the following screenshot:
Connecting to MongoDB Shell
► 5. To exit from MongoDB Shell, type the following command and press Enter:
"exit"
► This will take you out from MongoDB Shell, as shown in the following screenshot
Basic Shell Commands