
- MongoDB Tutorial
- MongoDB - Home
- MongoDB - Overview
- MongoDB - Advantages
- MongoDB - Environment
- MongoDB - Data Modeling
- MongoDB - Create Database
- MongoDB - Drop Database
- MongoDB - Create Collection
- MongoDB - Drop Collection
- MongoDB - Data Types
- MongoDB - Insert Document
- MongoDB - Query Document
- MongoDB - Update Document
- MongoDB - Delete Document
- MongoDB - Projection
- MongoDB - Limiting Records
- MongoDB - Sorting Records
- MongoDB - Indexing
- MongoDB - Aggregation
- MongoDB - Replication
- MongoDB - Sharding
- MongoDB - Create Backup
- MongoDB - Deployment
- MongoDB - Java
- MongoDB - PHP
- Advanced MongoDB
- MongoDB - Relationships
- MongoDB - Database References
- MongoDB - Covered Queries
- MongoDB - Analyzing Queries
- MongoDB - Atomic Operations
- MongoDB - Advanced Indexing
- MongoDB - Indexing Limitations
- MongoDB - ObjectId
- MongoDB - Map Reduce
- MongoDB - Text Search
- MongoDB - Regular Expression
- Working with Rockmongo
- MongoDB - GridFS
- MongoDB - Capped Collections
- Auto-Increment Sequence
- MongoDB Useful Resources
- MongoDB - Questions and Answers
- MongoDB - Quick Guide
- MongoDB - Useful Resources
- MongoDB - Discussion
How to clear console in MongoDB?
To clear console in MongoDB, you can use any of the following two syntaxes.
The first syntax is as follows, which is the usage of keyboard shortcut −
Ctrl + L
After pressing the above key, you can clear console in MongoDB.
The second syntax is as follows −
cls
To understand the above syntaxes, let us implement them one by one. Here is the snapshot of my console.
The first query is as follows to clear console in MongoDB −
Ctrl+L;
The following is the output −
Look at the above sample output, the console has been cleared. Let us check the console once again.
The second query is as follows to clear console i.e. type “cls” −
After pressing enter key, the console will clear. The screenshot of the sample output is as follows −
- Related Articles
- How to clear console in C?
- How to Clear the JavaScript Console in Google Chrome
- How can I clear console using C++?
- How to clear a MongoDB database?
- How to update % printed to Console from MongoDB?
- How to print to console an object in a MongoDB script?
- Is it possible to write to MongoDB console in JavaScript execution?
- How to clear ArrayBlockingQueue in android?
- How to clear screen in python?
- How I can use a database-name with special characters like " customer_tracker-990" in MongoDB console
- How to see request logs in Postman console?
- How to clear Python shell?
- How to clear Tkinter Canvas?
- How to use clear() in android ConcurrentLinkedDeque?
- How to use clear() in android ConcurrentLinkedQueue?

Advertisements