On 2024-07-27 23:08, Greg Wooledge wrote:
On Sat, Jul 27, 2024 at 22:50:17 +0100, mick.crane wrote:
In debian bookworm, xfce desktop, different virtual terminals have a
different history if same user presses "up key" in different virtual
terminals ?

As your subject says, this is "bash history". And yes, each instance of
bash has its own separate history.  It has nothing to do with your
terminal emulator or your desktop environment.
Where is it if not in ~/.bash_history?


Bash reads its history from a file (~/.bash_history by default) at
startup time, manages it in memory while running, and writes it back
out to the history file upon exiting.

Does this separate history get written to ~/.bash_history when terminal emulation thing is closed?

Reply via email to