Re: Common History across Shell
- From: quarkLore <agarwal.prateek@xxxxxxxxx>
- Date: Fri, 13 Jul 2007 02:28:03 -0700
On Jul 11, 7:00 pm, BartlebyScrivener <bscrivene...@xxxxxxxxx> wrote:
On Jul 11, 5:27 am,quarkLore<agarwal.prat...@xxxxxxxxx> wrote:
What you are describing is a little different. This will append
history in file from each session *after* the particular session
exits. What I wanted was multiple sessions can share history (the
history maintained in RAM and not file) amongst themselves during
active session.
I'm no bash or linux expert, but it seems it would be like having one
file open and three different programs writing to it. In ohter words,
No, the 3 sessions might share there information without actually
writing on the file. Shell might behave the normal way (maintain
history internally and update file when quitting) but this sharing is
done on a specific user action. On that particular action they share
there history with/without updating the file.
counter-intuitive. I'll be interested to see what you find out. How
about Chris Johnson's suggestion. Does that help?
Johnson's idea is right but the PROMPT COMMAND would have to be issued
from every shell that is opened
.
- References:
- Common History across Shell
- From: quarkLore
- Re: Common History across Shell
- From: BartlebyScrivener
- Re: Common History across Shell
- From: quarkLore
- Re: Common History across Shell
- From: BartlebyScrivener
- Common History across Shell
- Prev by Date: Re: script to list last records of files - script $1 vs awks $1
- Next by Date: Re: Help needed by novice trying to figure out how to use sftp
- Previous by thread: Re: Common History across Shell
- Next by thread: Re: Common History across Shell
- Index(es):
Relevant Pages
|