[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Seeing command history when using MATE terminal



On Sat, 18 Apr 2020 at 22:15, <rhkramer@gmail.com> wrote:
> On Saturday, April 18, 2020 07:00:53 AM David wrote:
> > On Sat, 18 Apr 2020 at 20:20, Richard Owlett <rowlett@cloud85.net> wrote:

> > > I can see any *ONE* previous commands by using the up-arrow key.
> > > But I need to see the *complete* history. F1 is no "Help".
> > > Obviously its stored in a file. Where?

> > * so if a user runs multiple shells, each shell exit will overwrite the
> > existing history file, the result is that only the last shell to exit will
> > have its history
> > preserved, and the history of the others will be lost.

> But, if you want / need to preserve the history from several terminals, there
> are ways to do it, for example, set a different $HISTFILE for each terminal.

An alternative approach (untested):
https://spin.atomicobject.com/2016/05/28/log-bash-history/


Reply to: