[NTLUG:Discuss] keeping your bash history.

Richard Geoffrion ntlug at rain4us.net
Mon Aug 25 15:18:40 CDT 2003


To keep your bash history from being recorded during a session, one can
issue the command  'unset HISTFILE' before exiting.

HOWEVER, when one has MULTIPLE terminal windows opened up, only that last
one to close seems to save its HISTFILE information into the bash history.

Is there a way to force a write to the bash history as one exits each shell
so that the entire history of all bash sessions are recorded?   Could this
be automated in the logout/logoff process?

--
Richard




More information about the Discuss mailing list