Hack 63. Disable the usage of history using HISTSIZE

If you want to disable history all together and don’t want bash shell to remember the commands you’ve typed, set the HISTSIZE to 0 as shown below.

# export HISTSIZE=0

# history

# [Note:  History did not display anything]

Comments on this entry are closed.