bash history zu klein
Florian Lohoff
f at zz.de
Thu Feb 12 13:34:01 CET 2015
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 at unrein:~$ set | grep HIST
> HISTCONTROL=ignoreboth
> HISTFILE=/home/tbals/.bash_history
> HISTFILESIZE=500000
> HISTSIZE=10000
>
> aber das tut offensichtlich nicht, denn:
>
> tbals at unrein:~$ history | wc -l
> 637
> tbals at 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 f at zz.de
We need to self-defense - GnuPG/PGP enable your email today!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lug-owl.de/pipermail/linux/attachments/20150212/c19da1b7/attachment.sig>
More information about the Linux
mailing list