help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] .bash_history lost


From: Chris Down
Subject: Re: [Help-bash] .bash_history lost
Date: Mon, 10 Mar 2014 13:32:16 +0800
User-agent: Mutt/1.5.22 (2013-10-16)

Manuel Reimer writes:
> Today this seems to have killed my .bash_history somehow. After rebooting
> and logging in as "root" again, my .bash_history was shown as zero sized
> file and all my previous commands are lost.
> 
> How can something like this happen? Is it a bad idea to enter "reboot" in a
> shell if I don't want to corrupt the history file?

If you have multiple shells open, this can happen.

Take a look at this thread, which discusses the issue:
http://lists.gnu.org/archive/html/bug-bash/2013-07/msg00096.html

Attachment: pgpCfWhoaK_FI.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]