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?

What type of file system is your ~/.bash_history located upon?  This
sounds like a deja vu from the ext4 file system.  Do you observe any
other zero sized files after a reboot?

Bob

Reply via email to