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:


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

"If HISTFILE is unset, or if the history file is unwritable, the
history is not saved."