Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Which command can be used in mongo shell to show all the databases in your MongoDB instance?
Home
MongoDB
Which command can be used in mongo shell to show all the databases in your MongoDB instance?
0
votes
asked
Jun 17, 2020
in
MongoDB
by
AdilsonLima
Which command can be used in mongo shell to show all the databases in your MongoDB instance?
A - show dbs
B - show databases
C - show dbs -all
D - ls dbs
#mangodb
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jun 17, 2020
by
AdilsonLima
Correct Ans
A - show dbs
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
+1
vote
Q: By default, the MongoDB cursor in mongo shell is configured to return how many documents? To get the next set of documents, which command is used?
asked
Jun 17, 2020
in
MongoDB
by
AdilsonLima
#mangodb
0
votes
Q: In our posts collection, which of following command can be used to find all the posts whose author names begin lie between
asked
Jun 17, 2020
in
MongoDB
by
AdilsonLima
#mangodb
0
votes
Q: Which command can be used to check the size of a collection named posts?
asked
Jun 17, 2020
in
MongoDB
by
AdilsonLima
#mangodb
0
votes
Q: In MongoDB, identify the command that adds an shard with a sharded Cluster.
asked
Oct 26, 2020
in
MongoDB
by
AdilsonLima
#mangodb
mongodb
mongodb-mcq
mongodo-interview-questions
mongodb-questions-answers
mongodb-best-questions
top-50-mongodb-mcq
0
votes
Q: What feature of MongoDB is used for safe backups?
asked
Aug 24, 2020
in
MongoDB
by
Hodge
#mangodb
0
votes
Q: A collection and a document in MongoDB is equivalent to which of the SQL concepts?
asked
Jun 17, 2020
in
MongoDB
by
AdilsonLima
#mangodb
0
votes
Q: Which statement MongoDB query is equivalent to the following SQL query: UPDATE users SET status = "C" WHERE age > 25
asked
Jun 17, 2020
in
MongoDB
by
AdilsonLima
#mangodb
0
votes
Q: Which statement is correct about MongoDB?
asked
Jun 17, 2020
in
MongoDB
by
AdilsonLima
#mangodb
0
votes
Q: Which of the following option is a valid MongoDB JSON :
asked
Jun 17, 2020
in
MongoDB
by
AdilsonLima
#mangodb
0
votes
Q: Which statement is correct explanation of MongoDB processes?
asked
Jun 17, 2020
in
MongoDB
by
AdilsonLima
#mangodb
...