LPI
201-400 · Question #121
201-400 Question #121: Real Exam Question with Answer & Explanation
Sign in or unlock 201-400 to reveal the answer and full explanation for question #121. The question stem and answer options stay visible for context.
Question
When bash is invoked as an interactive login shell, which of the following sentences is true?
Options
- AIt first reads and executes commands in /etc/bashrc and then does the same for /etc/profile.
- BIt ignores /etc/profile and only reads and executes commands in ~/.bashrc.
- CIt first reads and executes commands in /etc/profile and then does the same for
- DIt first reads and executes commands in /etc/profile and then does same for ~/.bash_profile
- EIt reads and executes commands in ~/.bashrc only if /etc/profile or another initialisation script
Unlock 201-400 to see the answer
You've previewed enough free 201-400 questions. Unlock 201-400 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.