|visits||member for||2 years, 8 months|
|seen||Sep 26 at 7:25|
I broadly work in Optimization, Evolutionary computing, Genetic Algorithms.
When I am bored, I love to solve problems on SO.
How do I keep my bash history across sessions?
Saving each command right after it has been executed, not at the end of the session will also help. This is because if you are running two sessions simultaneously, then without the line below, bash will save the history from session-1 (say) when its closed. If session-1 is running and you want to immediately access the history of session-1 inside session-2, then you wont be able to unless you add the below line to the .bashrc file. PROMPT_COMMAND='history -a'
|suggested||rejected edit on CPU, HDD, GPU temperture monitor Ubuntu|