mongo
db.
getMongo
db.getMongo() runs when the shell initiates. Use this command to test that the mongo shell has a connection to the proper database instance.
db.getMongo()