capturing bash history

the hatter london.pm at bang.meep.org
Wed Jun 13 01:23:17 BST 2007


On Tue, 12 Jun 2007, Nigel Hamilton wrote:

>          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.

Isn't bash 3 supposed to do that properly out of the box ?

> p.s. it would be great if I could get this to work across multiple
> machines too --- but I'll settle for one machine to start with

IIRC correctly, it also does something timestampy with the logs, so you
could likely merge them if you rsunc them or similar.


the hatter


More information about the london.pm mailing list