LPIC-1 Exam 101 (Linux Administrator) — Question 32
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 A, .bash_history, as it is the default file used by Bash to log commands executed in the terminal. The other options do not correspond to any standard file used by Bash for this purpose, making them incorrect.