Command
show dbs
Explanation
Shows all databases on the connected MongoDB instance. Useful to check existing databases.
Examples
List all databases
show dbs
show dbs
Shows all databases on the connected MongoDB instance. Useful to check existing databases.
List all databases
show dbs