[Cialug] How to add multiple instances of bash to your bash history

jim kraai jimgkraai at gmail.com
Thu Mar 20 09:11:07 CDT 2014


feature.  this first time i saw this discussion was in 1993.

it's intentional backwards compatibility from the oldden days that has a
one line, one time, works forever-from-then-on workaround




On Thu, Mar 20, 2014 at 9:02 AM, Andrew Denner <linux-list at upeke.com> wrote:

> Is it a bug or a feature?
>
>
> On Thu, Mar 20, 2014 at 6:23 AM, Todd Walton <tdwalton at gmail.com> wrote:
>
> > On Mar 19, 2014 11:56 PM, "Adam Hill" <adam at diginc.us> wrote:
> > >
> > > Here is my standard history setup from ~/.bashrc
> > >
> > > export HISTSIZE=100000
> > > export HISTFILESIZE=50000
> > > export HISTCONTROL=ignoredups
> > > export PROMPT_COMMAND="history -a; history -n; $PROMPT_COMMAND"
> > >
> > > the -a submits your recent commands so other sessions see them, the -n
> > > pulls the hitsory back into your session so you can see your other
> > > sessions' history.
> >
> > Clever. But it seems like the GNU people ought to just fix the bug.
> >
> > --
> > Todd
> > _______________________________________________
> > Cialug mailing list
> > Cialug at cialug.org
> > http://cialug.org/mailman/listinfo/cialug
> >
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>


More information about the Cialug mailing list