I'm running Ubuntu 9.1 and every time I open a terminal window, I lose the previous command's history. How can I configure it so it's kept even after rebooting?
What are the permissions on ~/.bash_history? Can your user modify it?
Alternatively, are you exiting out of the previous window first?
I'm assuming you're using Bash.
Try this command at Bash prompt:
If it says:
then add this line in your