Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How not to lose your BASH history (and make it more compact)
# Add following lines to:
# - /etc/bash.bashrc
# - /etc/profile
export HISTSIZE=1000000
export HISTFILESIZE=$HISTSIZE
export HISTCONTROL=ignoredups
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment