$HISTFILE
–
Location of the Bash command history
$HISTFILE defines the path to the file, where Bash stores its command history.
The default value is ~/.bash_history.
Links
Examples
- Store the history in
~/.history 1HISTFILE=~/.history
BashSupport Pro is a Bash IDE with support for $HISTFILE – try it now!