Add "shopt -s histappend" and "export PROMPT_COMMAND='history -a'" to your .bashrc and your command history will be saved for all terminals.
0
7
8
0
0