$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.

Examples

Store the history in ~/.history
1
HISTFILE=~/.history
BashSupport Pro is a Bash IDE with support for $HISTFILEtry it now!
© 2020–2024 Joachim Ansorg
Imprint
Privacy Policy
Legal