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