title: How to disable the mongo .dbshell history file
body: <p>When I run the mongo client, it stores a history of commands in $HOME/.dbshell. I would prefer not to log any commands from Mongo.</p>
  
  <p>How do I disable the behavior that writes to the .dbshell file? I don't want to write it to /tmp, I want to avoid having it write anywhere.</p>
  
  <p>This page does not provide useful information <a href="https://docs.mongodb.com/manual/reference/program/mongo/" rel="noreferrer">here</a>. </p>