4

Possible Duplicate:
Preserve bash history in multiple terminal windows

While working, usually I have multiple terminal windows open (or tabs). I use konsole, but it could be few ssh sesions to one and the same machine, or using screen.

In any case, I'm looking for a way to preserve the history from each one of them on closing (or even better - while still open) and merged, so it can be reused later from any new session (or even the current opened ones). Any idea how to accomplish this?

merged by Michael Mrozek Dec 2 '11 at 20:38

This question was merged with Preserve bash history in multiple terminal windows because it is an exact duplicate of that question.

Browse other questions tagged or ask your own question.