Which of the following files, located in the user home directory, is used to store the Bash history?
A
.bash_history
Correta
B
.bash_histfile
C
.history
D
.bashrc_history
E
.history_bash
Explicação Oficial / Explicações da Comunidade
The Bash shell stores command history in a file specified by the HISTFILE environment variable. By default, HISTFILE is set to ~/.bash_history in the user's home directory. This file is read at the start of a session and appended to during the session, allowing users to recall previous commands using history or arrow keys.