On Jan 16, 2008 3:25 PM, Adam Hardy <[EMAIL PROTECTED]> wrote: > I use alot of console windows in X as well as having shells and ssh shells > open > sometimes for the same user. I notice that bash doesn't save every command > immediately and loses the history from simultaneous bash sessions, when they > are > not the last session to close. > > Is that normal? Or is there some sort of caching that I can configure better?
>From my .bashrc: # bash options # ignores dups (ignoredups) and commands preceded by a space (ignorespace) HISTCONTROL=ignoreboth HISTFILESIZE=10000000 HISTSIZE=10000 # append history instead of overwriting shopt -s histappend # every time a prompt is displayed, append the previous line to history PROMPT_COMMAND='history -a' Cheers, Kelly Clowers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]