Last updated 8 months ago
Sometimes, having limited Bash history isn't enough, and so we can just it unlimited!
~/.bashrc
We can set HISTSIZE & HISTFILESIZE variables of Bash to -1 in ~/.bashrc file -
HISTSIZE
HISTFILESIZE
-1
HISTSIZE=-1 HISTFILESIZE=-1
Source: