Skip to content

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.