[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On Sat, 2009-10-17 at 21:43 +0100, Simon Waters wrote: > By default: > > set | grep HIST > HISTFILE=/home/srw/.bash_history > HISTFILESIZE=500 > HISTSIZE=500 I get the line HISTCONTROL=ignoreboth before HISTFILE... > > When an interactive shell exists it writes its history to the BASH > history file with the last 500 commands in its history. The file is read > on shell start up. So the contents of histfile depends which shell exits > last. Occasionally I have used linux console but it shows the same history. I may have had one or more shells running. > > However there is no obvious way this reduced to 3 entries in normal > usage unless the history was truncated, removed, or the defaults changed > somehow, so doesn't help the OP. How might this have happened? Thanks James -- james kilty http://www.kilty.demon.co.uk -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html