find in database cmd mongo code example
Example 1: mongodb show database command linux
show databases
show dbs
Example 2: show collection data in mongodb
db.collectionName.find()
show databases
show dbs
db.collectionName.find()