[NTLUG:Discuss] keeping your bash history.

Thomas Cameron thomas.cameron at camerontech.com
Wed Aug 27 16:48:36 CDT 2003


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
>
>
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
>




More information about the Discuss mailing list