Showing posts with label shell. Show all posts
Showing posts with label shell. Show all posts
Sunday, October 20, 2013
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
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
Subscribe to:
Posts (Atom)