Linux Foundation Certified System Administrator (LFCS) — Question 129
Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)
Answer options
- A. ~/.bashconf
- B. ~/.bashrc
- C. ~/.bashdefaults
- D. ~/.bash_etc
- E. ~/.bash_profile
Correct answer: B, E
Explanation
The correct answers are ~/.bashrc and ~/.bash_profile, as these files are specifically used to configure user settings and environment variables for the Bash shell. The other options, ~/.bashconf, ~/.bashdefaults, and ~/.bash_etc, do not exist as standard Bash configuration files and therefore do not impact the shell's behavior.