Site icon Dipin Krishna

Disable the usage of history using HISTSIZE

I you don’t want the shell to remember the commands you have typed, then disable history all together by setting the HISTSIZE to 0 as shown below.

$ export HISTSIZE=0

Set some other value if you want the shell to remember a few commands may be 5 or 10 etc..

Enjoy using linux.

Exit mobile version