I would like to clear my history in the Mongo shell (OSX/Terminal). I have tried the command 'cls' and it clears the text in the terminal. However, when I run my next query all of which I cleared reappears along with the new information from the query. How can I prevent the history from reappearing?
This question is not a possible duplicate because the answer was to use CMD+K in the mongo shell as mentioned by the accepted answer below. The suggested duplicate was unrelated.