bug-bash
[Top][All Lists]
Advanced

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

Re: Bash history weirdness


From: John
Subject: Re: Bash history weirdness
Date: Sun, 4 Oct 2009 15:50:52 +0000 (UTC)
User-agent: slrn/pre1.0.0-2 (Linux)

On  3 Oct 2009 at 20:19, Wanna-Be Sys Admin wrote:
> John wrote:
>> If I do "history -w" then it writes the current history to
>> ~/.bash_history as expected.
>> 
>> But if I do "history -a" then ~/.bash_history doesn't get changed, and
>> from the modification time it hasn't been touched at all.
>
> Where they "new" history lines, or did you run that right after -w?

Yes, there was history to write!

Actually what happened was that I noticed "history -a" wasn't working,
then tried "history -w" and was surprised to find that it *did* work.



reply via email to

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