What I have seen is, command line history from one session (pts) is not available to other open sessions (pts).
- Is it possible to explicitly commit the history of a session, so that it's available to other sessions immediately.
Further, What i have seen is - history from closed sessions is only available to new sessions. It's not available to existing sessions.
- Is it possible to pull the history of closed sessions in to existing sessions.
Above observation is for bash
shell.
Could some one explain how history (recording/sharing) works when multiple sessions exists for same user?