Carlos E. R. said the following on 12/11/2008 07:55 AM:
I /think/ the history is saved only when you exit bash. Till that moment, the current history is in memory only, and the file holds the previous session data.
That matches with my experience.
What happens when you have many bash sessions opened, I do not know.
Since I have many xterms open normally I run into this all the time. The literal answer is "last man down", but since I use the Konsole to support many sessions its more like a race condition when I sundown since I don't exit each shell and program. I rely on KDE to start them all up again when I log in again/restart and on Konsole to start the shells up in the working directories I was in at shut-down. Well, while that is true each shell in its own tab under console does not have the history it used to. They all have one history now, from the last shell shut down. I realise this isn't a "double-blind" parametrized scientific test, but I think it constituents adequate working evidence. -- "Engineers like to solve problems. If there are no problems handily available, they will create their own problems. Normal people don't understand this concept; they believe that if it ain't broke, don't fix it. Engineers believe that if ain't broke, it doesn't have enough features yet." - S. Adams -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org