Oracle
1Z0-821 · Question #25
1Z0-821 Question #25: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-821 to reveal the answer and full explanation for question #25. The question stem and answer options stay visible for context.
Question
A user brian is configured to use the bash shell. His home directory is /export/home/brian, and contains a .profile and a .bashrc file. In the -profile, there are these lines: genius =ritchie export genius In the .bashrc us this line: genius=kernighan In /etc/profile are these lines: genius=thompson export genius When brian logs in and asks for the value of genius, what will he find, and why?
Options
- Agenius will be ritchie, because that was the value exported in .profile.
- Bgenius will be kernighan, because .bashrc executes after .profile.
- Cgenius will be ritchie because variable settings in .profile take precedence over variable settings
- Dgenius will be ritchie because .profile executes after .bashrc.
- Egenius will be thompson because /etc/profile system settings always override local settings.
Unlock 1Z0-821 to see the answer
You've previewed enough free 1Z0-821 questions. Unlock 1Z0-821 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.