Disable the usage of history using HISTSIZE

On March 15, 2010, in disable, history, histsize, by Dipin Krishna

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.


Leave a Reply