* Florian Lohoff schrieb 12.02.2015 13:42h:
> On Wed, Feb 11, 2015 at 06:41:18PM +0100, Thomas Baeumer wrote:
> > Tach zusammen,
> > ich ärgere mich auf meine Ubuntu Desktop immer über eine zu kleine bash
> > history. Dabei habe ich in der .bashrc alle hochgedreht:
> > 
> > tbals@unrein:~$ set | grep HIST
> > HISTCONTROL=ignoreboth
> > HISTFILE=/home/tbals/.bash_history
> > HISTFILESIZE=500000
> > HISTSIZE=10000
> > 
> > aber das tut offensichtlich nicht, denn:
> > 
> > tbals@unrein:~$ history | wc -l
> > 637
> > tbals@unrein:~$ cat .bash_history | wc -l
> > 673
> > 
> > Die wächst auch an so bis etwa 2000 Zeilen und dann irgendwann ist die
> > history wieder leer. Keine Ahnung warum. Hat jemand eine Idee?
> 
> # append to the history file, don't overwrite it
> shopt -s histappend
> 
> Flo

Ja, das ist auch drin:

tbals@unrein:~$ grep -i hist .bashrc
HISTCONTROL=ignoreboth
HISTSIZE=10000
HISTFILESIZE=500000
shopt -s histappend

Es geht übrigens um ein Ubuntu 14.04 LTS, auch wenn das vermutlich
irrelevant ist.

Gruss
  Thomas
-- 
Linux mailing list [email protected]
subscribe/unsubscribe: http://lug-owl.de/mailman/listinfo/linux
Hinweise zur Nutzung: http://www.lug-owl.de/Mailingliste/hints.epo

Antwort per Email an