bash History on F7

John Summerfield debian at herakles.homelinux.org
Mon Oct 29 21:01:03 UTC 2007


Robin Laing wrote:
> John Summerfield wrote:
>> Adel ESSAFI wrote:
>>> Dear All
>>> I have a strange behaviour on my bash shell on F7. In some session, I 
>>> lose all the histoty!!! I don t find any command that I have executed 
>>> in my previous sessions.
>>> Regards.
>>> Adel
>>>
>> \ls -l ~/.bash_history
>> \lsattr ~/.bash_history
>>
>> Change ~ to ~whatever as appropriate.
>>
>> Oh, and just leave "reply to" pointing at the list. I don't like 
>> replying off-list.

>>
>>
> 
> I have noticed this for ages.  If you have multiple shells open, one 
> will override the others.  So some sessions won't be stored in the 
> history.  If you are like me, I have multiple shell windows open so I 
> don't rely on history.  At home I only keep one line for privacy.
> 
sudo chatter +a ~/.bash_history



-- 

Cheers
John

-- spambait
1aaaaaaa at coco.merseine.nu  Z1aaaaaaa at coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

Please do not reply off-list




More information about the fedora-list mailing list