So my home directory does have a .bash_history file, but it refuses to grow any bigger for some reason. I've already changed the .bashrc settings to set the history size to 99999 and the history file size limit to something similar.

  • Which settings did you change? How big does .bash_history get? Do you want a single history file for all sessions or several history files? – Gilles Jun 16 '12 at 23:26
  • I just set export HISTSIZE=9999 and export HISTFILESIZE=999999. I want a single history file for all sessions. – InquilineKea Jun 17 '12 at 0:51

Find this in .bashrc:

# Make bash append rather than overwrite the history on disk

# shopt -s histappend

and uncomment the second line!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.