January 2018
Intermediate to advanced
414 pages
10h 29m
English
In another terminal window, in the same Mongo bin directory, we can just run:
mongo
After a couple of seconds, we will see:
I CONTROL [initandlisten]>
That is our command interface. We can now just type any command followed by Enter. For example, if we execute the db.version() command, we will get something like:
> db.version()3.4.9
We can close our connection to the database and end the client using the exit command:
> exitbye
Read now
Unlock full access