Before you can write MongoDB queries and inject some data, first you must connect to MongoDB, so open a terminal and type the following:
$ mongo
Then you can list the databases that you have in the MongoDB system:
> show dbs
You should get the following output:
admin 0.000GB
config 0.000GB
These two databases (admin and config) are the default ones from MongoDB. However, we should create new databases according to our needs and purposes.