The mongo shell command history is no longer persisted.
No history in 3.3.13+
➜ mongo git:(master) ✗ 3.3.13/mongo --nodb MongoDB shell version v3.3.13 > print() > ^C bye ➜ mongo git:(master) ✗ more ~/.dbshell
Correct behavior in 3.3.12
➜ mongo git:(master) ✗ 3.3.12/mongo --nodb MongoDB shell version v3.3.12 > print() > ^C bye ➜ mongo git:(master) ✗ more ~/.dbshell print()
Possibly related to SERVER-25335
- is duplicated by
-
SERVER-26807 dbshell history is not working
- Closed
- is related to
-
SERVER-26871 Fix shell history file error handling
- Closed
-
SERVER-26872 Add shell history testing
- Closed
- related to
-
SERVER-25335 0002 umask yields world-readable .dbshell history file
- Closed