Does MongoDB have a shell history file?
Yes, its in ~/.dbshell as of version 1.8.1 which I am using. But this could be something they added in 1.7+ as from what I recall 1.6.5 does not have it.
Yes, its in ~/.dbshell as of version 1.8.1 which I am using. But this could be something they added in 1.7+ as from what I recall 1.6.5 does not have it.
An interactive shell is one started without non-option arguments, unless -s is specified, without specifying the -c option, and whose input and error output are both connected to terminals (as determined by isatty(3)), or one started with the -i option. An interactive shell generally reads from and writes to a user’s terminal. [gnu bash manual] … Read more