Loading...

Toggle bash history

:heavy_exclamation_mark: This post is older than a year. Consider some information might not be accurate anymore. :heavy_exclamation_mark:

The linux bash records your commands in the bash history. You can toggle it off and then back on again.

Turn off

set +o history

Turn on

set -o history
Please remember the terms for blog comments.