Disable / Enable History temporarily


To disable the bash history temporarily just type:

set +o history

To reenable the bash history:

set -o history

You can get the current status with:

set -o