mongodb see dbs code example
Example 1: mongodb show database command linux
show databases
show dbs
Example 2: mongodb show database command linux
show collections
show tables
db.getCollectionNames()
Example 3: view mongodb database
>db.mycol.insert({
_id: ObjectId(7df78ad8902c),
title: 'MongoDB Overview',
description: 'MongoDB is no sql database',
by: 'tutorials point',
url: 'http://www.tutorialspoint.com',
tags: ['mongodb', 'database', 'NoSQL'],
likes: 100
})