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