MongoDB Shell

The MongoDB Shell is a command line program that comes with the binaries of MongoDB on all platforms. You can run it by executing …

> mongo

In the /bin/ directory of your MongoDB folder.

The shell is (at the core level) a JavaScript interpreter (that is JavaScript not Java) …

You can actually “try” it online without installing anything by going to: http://try.mongodb.org/

Lots more documentation on MongoDB’s website, here.

Intro to the Shell

Watch Mike Dirolf from 10Gen’s presentation(s) on the Shell  (also an interesting blog post: Working With Stored JavaScript in MongoDB …)

Mastering the MongDB Shell

Source: http://mongodb.blip.tv/file/3700829/

CRUD and the JavaScript Shell

Source: http://mongodb.blip.tv/file/3591564/

Mike Dirolf maintains the MongoDB client drivers for Python and Ruby. He also takes time out to talk about MongoDB and has presented at EuroPython, Strange Loop Conf, ReR, RuPy, RubyConf, CodeMash and FLOSS Weekly as well as at various meetup groups around the world. He is currently working on writing MongoDB: The Definitive Guide to be published with OReilly. Mike received a B.S.E. in Computer Science from Princeton University. Born in Albany NY, Mike currently resides in New York City.

Becoming a Monja

Scott Hernandez’s presentation at Mongo Seattle in July 2010 will show you how to become a MongoDB shell … master.

Mastering the Shell

Source: http://mongodb.blip.tv/file/4002754/