mongodb show all documents in collection command line code example Example: show collection data in mongodb db.collectionName.find()