[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [OT] Not clobbering bash history
From: |
Jean Louis |
Subject: |
Re: [OT] Not clobbering bash history |
Date: |
Thu, 7 Dec 2023 09:44:56 +0300 |
User-agent: |
Mutt/2.2.10+64 (b470a9a) (2023-06-05) |
> > Say that the history has eight entries, and a ninth was added by a
> > parallel process, the current process would be at the point after the
> > eighth element and should continue reading from there next time it wants
> > a history entry.
Arsen, explore options of the command `history' to do what you want,
you can save history:
$ history -a
and you can re-read history file:
$ history -r
and by using those options you can mix history from different Bash
sessions, and also re-use the history from other Bash session.
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/