15 May
2024
15 May
'24
15:28
On Wed, 15 May 2024, 14:39:48 +0200, Carlos E. R. wrote:
On 2024-05-15 14:02, Masaru Nomiya wrote:
Your history command store in RAM until you regularly terminate your terminal. Then list of your command write into the .bash_history. If you wanted to write your commands history at anytime you need, use below command:
$ history -a
I have lost history now and then, so possibly a cronjob to make a backup would make sense.
This is true and works as expected - see HISTSIZE and HISTFILESIZE in "man bash". I have set them to 4000000 after having lost my history... @Axel: how much space is free/used in your home directory? Cheers. l8er manfred