Linux Foundation Certified System Administrator (LFCS) — Question 96
Which of the following files, located in the user home directory, is used to store the Bash history?
Answer options
- A. .bash_history
- B. .bash_histfile
- C. .history
- D. .bashrc_history
- E. .history_bash
Correct answer: A
Explanation
The correct answer is .bash_history, which is the default file where Bash saves command history. The other options, while they may resemble valid filenames, do not serve the purpose of storing Bash command history and are not used by the Bash shell.