Start mongo shell:

mongo

Common commands:

show dbs;
use db_foo;
show collections;
db.collection_foo.find();