[NTLUG:Discuss] keeping your bash history.
Paul Ingendorf
pauldy at wantek.net
Thu Aug 28 00:51:48 CDT 2003
Do I keep reading this wrong? Is he not looking for a way to save those
history files not obliterate them?
-----Original Message-----
From: discuss-bounces at ntlug.org [mailto:discuss-bounces at ntlug.org]On
Behalf Of Thomas Cameron
Sent: Wednesday, August 27, 2003 4:49 PM
To: NTLUG Discussion List
Subject: Re: [NTLUG:Discuss] keeping your bash history.
export HISTFILE=/dev/null
--
Thomas Cameron, RHCE, CNE, MCSE, MCT
Cameron Technical Services, Inc.
http://www.camerontech.com/
(512) 454-3200
----- Original Message -----
From: "Richard Geoffrion" <ntlug at rain4us.net>
To: <discuss at ntlug.org>
Sent: Monday, August 25, 2003 3:18 PM
Subject: [NTLUG:Discuss] keeping your bash history.
> 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