In my computer at work, my bash shell remembers history from previous sessions, even if I just opened a new terminal.
In my computer at home, this doesn't happen.
I have the same OS 10.6.8 in both machines and I don't have any history related setting in .bash_profile
.
How could I set this up on my home computer so it remembers history across sessions?
How to make bash (Terminal.app) remember history of previous sessions
bashhistoryterminal
Best Answer
You'll need to tell bash where to keep your history file, and how many lines to keep: