Real-time command history sharing between interactive shells

pete wright nomadlogic at gmail.com
Wed Nov 29 08:16:47 PST 2006


On 11/29/06, Andrew Pantyukhin <infofarmer at freebsd.org> wrote:
> I want to be able to define groups of interactive
> shells (preferably even across different users)
> so they have one single shared command history.
> Any command executed in one of them should be
> available through all history mechanisms in the
> other ones.
>
> I imagine some ways to do it in tcsh. I'm sure
> many users would like this kind of functionality,
> maybe some of them have already implemented it?
>

sounds pretty interesting.  maybe i'm missing something pretty basic
here, so i assume sym-linking ~/.history between multiple accounts
will not be sufficient.  if it is you can define $HISTFILE in bash/ksh
to point to ~/.history as well.

-pete





-- 
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group


More information about the freebsd-questions mailing list