capturing bash history

Dave Cross dave at
Tue Jun 12 12:50:07 BST 2007

Nigel Hamilton wrote:
> Hi,
>         I'd like to keep a history of all shell commands across all the
> xterms I'm using but the ~/.bash_history only holds history from one
> terminal.
>         Any ideas on interleaving the shell history from multiple
> terminals into one file?

I think you need slides 3 - 8 from

Slides 3 - 7 explain the problem. Slide 8 gives the solution.


More information about the mailing list