how to show database in mongodb on terminal code example Example: mongodb show database command linux show collections show tables db.getCollectionNames()