I found in ~/.bashrc
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000
Leaving this part alone,
the result of history was also the same.
That was not the case in wheezy.
I've edited ~/.bashrc, so now
$ cat ~/.bashrc
==omitting==
HISTCONTROL=ig
With bash version 3 you can set to infinity the history size and size of
history file of terminal
edit file ~/.bashrc
change HISTSIZE=1000 to HISTSIZE=-1 //history size of terminal
change HISTFILESIZE=2000 to HISTFILESIZE=-1 //size of history file
2016-02-24 8:19 GMT-04:00 :
> -BEGIN PGP SIG
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wed, Feb 24, 2016 at 08:16:01PM +0800, EenyMeenyMinyMoa wrote:
> Hi,
> I want to increase the number of bash history.
>
> $ history
> ==omitting==
> 1996 history
>
> After entering commands more than ten times,
> I relaunched the terminal to see
>
3 matches
Mail list logo