$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
1
HISTFILE=~/.history
BashSupport Pro 是一个 支持 $HISTFILE 的 Bash 集成开发工具 – 马上试用!