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.

Examples

Store the history in ~/.history :

1
HISTFILE=~/.history
BashSupport Pro 是一个 支持 $HISTFILE 的 Bash 集成开发工具 – 马上试用!
© 2020–2022 Joachim Ansorg
声明
隐私政策
许可条款