Bash History

Declan. Moriarty declan.moriarty at ntlworld.ie
Tue Mar 18 08:01:28 PST 2003


On Tue, Mar 18, 2003 at 02:32:47PM +0100, Erika Pacholleck enlightened us thusly
> [18.03.2003] Declan. Moriarty <-- :
> > I have found ~/.bash_history, removed it, and still get a history over
> > reboots that is obviously stored somewhere. I will normally have 2 or 3
> > of terminals open with root, and a couple with users as well, and get
> > different histories on each.
> 
> History is a readline thing. If you don't want any history, put this
> into your bash config file (profile, rc or whatever):
>   
>   unset HISTFILE

> 
> if you want immediate adjusting to not using history then
> 1. in one terminal: rm -f ~/.bash_history
> 2. in all termials: source <your bash config file>
> -  after that you can logout in any terminal you want without history
> 



Thanks Erika - that solves a little niggle here :-D.
-- 

	With best Regards,


	Declan Moriarty.
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list