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

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.