How do I keep my bash history across sessions?
Fresh3 days ago
Mar 15, 202654259 viewsConfidence Score0%
0%
Problem
I am working on a x86 target running fedora 9. Whenever I reboot it, my history returns to some state, and I do not have commands I did in the sessions before the reboot. What I have to change to have updated history I had before reboot?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How do I keep my bash history across sessions?
Low Risk
Which history? bash-history? If you're losing bash history and you have multiple sessions at a time, it's because each session is overwriting the other sessions' history. You probably want to tell bash to not overwrite the history each time, but rat…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix