August 12, 2024
Last updated
Last updated
Recently, I had to run a job on GitHub Actions in a container, ended up writing a TIL for that .
Unlimited Bash history? Well, why not? Sometimes, I find myself scratching my head trying to find a command that I had run a long time ago!
We need to set HISTSIZE
& HISTFILESIZE
variables of Bash to -1
.
To make it permanent for an user, we can set HISTSIZE
& HISTFILESIZE
variables in ~/.bashrc
file.
Reference: