Monday, January 30, 2012

Customizing The Mongodb Interactive Shell

When the shell is launched, it checks the user's home directory for a javascript file named .mongorc.js.
If this file is found, its contents are interpreted and run by the shell prior to displaying the prompt for the first time.
This allows the user to define variables, customize the prompt, or update information that they would like updated every time they launch a shell.

Here is my .mongorc.js

1 comment:

  1. A hand held welding machine as a direction of laser applications, is now a combination of technology and traditional technology, but has different characteristics from traditional processing

    ReplyDelete