- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to run MongoDB shell using mongos command?\n
In order to launch the MongoDB shell, you need to use mongo command. Following is the syntax −
>mongo
First reach the MongoDB bin directory from command prompt as in the below screenshot −
Here is the command to launch the mongo shell as in the below screenshot −
This will produce the following output −
Advertisements