David C. Rankin wrote:
Listmates,
Is there any way to Save .bash_history command to file when HISTSIZE= limit is reached? I would love to be able to hack whatever command removes entries from the .bash_history file and have it append that cli to something like history.sav so I could save old command lines. The problem is that I don't know where this code lives or whether it is even accessible to me. Anybody have any ideas?
Just make the history size limit bigger so it keeps whatever you want! If it gets too big, trim it by hand with vim or whatever. Haven't tested it but I'd be surprised if that had any ill effects. Cheers, Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org