According to the documentation, `history -a` should append the ``new'' history lines (history lines entered since the beginning of the current bash session) to the history file.
According to the documentation, `history -a` should append the ``new'' history lines (history lines entered since the beginning of the current bash session) to the history file.