LPIC-1 Exam 101 v5 (Linux Administrator) — Question 12
Which of the following files, located in a user's home directory, contains the Bash history?
Answer options
- A. .bashrc_history
- B. .bash_histfile
- C. .history
- D. .bash_history
- E. .history_bash
Correct answer: D
Explanation
The correct answer is D, .bash_history, as it specifically stores the command history for the Bash shell. Options A, B, C, and E are not standard files used by Bash for storing command history, making them incorrect choices.