Skip to content

Instantly share code, notes, and snippets.

@eyalgo
Created December 14, 2014 11:41
Show Gist options
  • Save eyalgo/cb646d5de44057f75105 to your computer and use it in GitHub Desktop.
Save eyalgo/cb646d5de44057f75105 to your computer and use it in GitHub Desktop.
# http://docs.mongodb.org/manual/reference/mongo-shell/
# under monog installation
mongo
# Print a list of all databases on the server
show dbs
show collections
use myDb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment