Can history files be unified in bash?
Fresh3 days ago
Mar 15, 20266868 viewsConfidence Score0%
0%
Problem
I routinely run multiple sessions on my Linux desktops and servers. A problem with this is that when I through my command history, I find I issued a command in a different session, and have to detach and re-attach to get that history item. Is it possible to 'force' the differently-updated histories…
Error Output
screen
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Can history files be unified in bash?
Low Risk
There are two things you need to do: Insert the command in your . This will append to the history file instead of overwriting it. Also in your , insert and the history file will be re-written and re-read each time bash shows the prompt. EDIT: Thanks…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix