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
-- 
Florian Lohoff                                                 [email protected]
     We need to self-defense - GnuPG/PGP enable your email today!

Attachment: signature.asc
Description: Digital signature

-- 
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