Re: Where is the history stored (bash)?



>
> > say for example I wanted to clear my history for my current session
> > only, so that it doesn't end up in ~/.bash_history, how do I?
>


I think I figured out this part, if you:

unset HISTFILE

the shell will not write to ~/.bash_history when your session
terminates

"If HISTFILE is unset, or if the history file is unwritable, the
history is not saved."
http://www.gnu.org/software/bash/manual/bashref.html

.