[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Random loss of bash history
From: |
Linda Walsh |
Subject: |
Re: Random loss of bash history |
Date: |
Fri, 10 Oct 2014 01:40:50 -0700 |
User-agent: |
Thunderbird |
You DID read the release notes and changes from 4.2->4.3.
Someone had the bright idea that .. in 4.2, '0' meant no limit in
history (in bash and readline)... but in 4.3, '0' means 0 and throw
away history while negative values mean keep it all.
Perhaps you were hit by this brilliant new feature -- no doubt
a new POSIX blessing.
Darshit Shah wrote:
I'm running Bash 4.3.30(1)-release on Arch Linux. Recently after I
rebooted by system I realized that all my Bash History had been erased.
The ~/.bash_history file existed, but it was completely empty.
The situation occurred just now once again. I boot up my system and
realize that I have no bash history at all. The issue does not occur at
every boot, it's random and I am unable to correlate the two instances
in which this has happened to me.
I haven't any idea as to how I should debug this problem to provide more
information. Could you please start out by helping me there?