Use command line to operate MongoDB