Linux_FoundationLinux_Foundation
LFCS · Question #116
LFCS Question #116: Real Exam Question with Answer & Explanation
The correct answer is B: ~/.bashrc. The ~/.bashrc and ~/.bash_profile files are standard Bash startup scripts that customize shell behavior.
Submitted by khalil_dz· Apr 18, 2026Essential Commands
Question
Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)
Options
- A~/.bashconf
- B~/.bashrc
- C~/.bashdefaults
- D~/.bash_etc
- E~/.bash_profile
Explanation
The ~/.bashrc and ~/.bash_profile files are standard Bash startup scripts that customize shell behavior.
Common mistakes.
- A.
~/.bashconfis not a standard or recognized Bash shell configuration file. - C.
~/.bashdefaultsis not a standard or recognized Bash shell configuration file. - D.
~/.bash_etcis not a standard or recognized Bash shell configuration file.
Concept tested. Bash startup files (.bashrc, .bash_profile)
Reference. https://man7.org/linux/man-pages/man1/bash.1.html
Topics
#Bash#Shell Configuration#~/.bashrc#~/.bash_profile
Community Discussion
No community discussion yet for this question.