1

Why bash history keeps getting deleted

view story
linux-howto

https://bbs.archlinux.org – gsgleason wrote:export HISTSIZE=10000 export HISTFILESIZE=20000 shopt -s histappend export PROMPT_COMMAND='history -a'I was just updating my bashrc file (thanks to this thread ) and I'm confused. What's the difference between these two options:shopt -s histappend export PROMPT_COMMAND='history -a'EDIT: I understand "shopt -s histappend" (it's well documented in "man bash"), but "history -a" still confuses me. drcouzelis https://bbs.archlinux.org/profile.php?id=30893 2012-10-19T17:47:53Z (HowTos)