If you want bash to share current history across multiple logins, you can
use the following:
export PROMPT_COMMAND='history -a; history -n'
which will run a history file read and write append every time a prompt is
issued. That said, you'll always be a prompt or two behind, and your
history file will be HUGE! You'll probably want to set your HISTSIZE to at
least a couple thousand lines if you do this.
See "Printing a Prompt" node in the bash texinfo file for more details.
--
Todd A. Jacobs
Senior Network Consultant
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list