helpThe GNU Bourne-Again SHell - Support: sr #109000, Make a consistent multi-session...


sr #109000: Make a consistent multi-session history file

Submitted by:  None
Submitted on:  Wed 23 Mar 2016 07:55:37 AM UTC  
Category:  None Priority:  5 - Normal
Severity:  1 - Wish Status:  Postponed
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 23 Mar 2016 07:55:37 AM UTC, original submission:

As of now the history file is not handled consistently among multiple concurrent sessions.
This means, for example, that using two bashes on two different windows on the same system (with the same user) will lead to inconsistent history file. Not all commands from the multiple bashes will be recorder.
There are a few workaround but all rely on external tools that won't honor the other history file related settings: $HIST* variables and shopts.
A builtin solution would.
I would warn against a solution involving multiple history file (one per session) even if in some cases this can make sense.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by chet (Updated the item)
  • -email is unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-04-09 chet StatusNone => Postponed

    Back to the top

    Powered by Savane 3.3