command line mongodb getall the database code example Example: mongodb show database command linux show databases show dbs