Basic setup working environment on Linux

Basic setup working environment on Linux

Basic setup working environment on Linux Terminal color: PS1 color: $> PS1=’\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w \$\[\033[00m\]>’ The result is something like this: pi@raspberrypi:~ $> ‘ls’ command color: 

Remember to source ~/.bashrc once done. The result is like:       VIM editor

Some useful mongo db command lines

Some useful mongo db command lines

Daily Used Commands of Mongod First we have to locate where the “mongo” command installed:

Now we start the mongod daemon on local machine and make sure it started successfully with the message “waiting for connections on ports 27017”.