I have the opposite question to this. How do I keep all commands in bash history?
In Ubuntu since quite some time now, the default for bash is to forget commands with non success exit code. This is incredibly stupid and I would the accepted answer to linked question.
Unix user @goldilocks pointed out that maybe I am just confused by the ignoreboth directive.
