|visits||member for||1 year, 11 months|
|seen||Feb 19 at 0:22|
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||suggested edit on CPU, HDD, GPU temperture monitor Ubuntu|