New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Oracle Solaris 11 System Administration 1z0-821 Question # 13 Topic 2 Discussion

Oracle Solaris 11 System Administration 1z0-821 Question # 13 Topic 2 Discussion

1z0-821 Exam Topic 2 Question 13 Discussion:
Question #: 13
Topic #: 2

You have edited /etc/profile to include the lines:

dennis_says=hello

export dennie_says

You have also edited /etc/skel/local.profile to include the line:

dennis_says=world

You now create a new user account brian, and specify use of the bash shell. When brian logs in and enters

Echo $dennis_says

What will he see, and why?


A.

world, because the local.profile entry will be executed last


B.

hello, because the global /etc/profile entry overrides the local.profile entry


C.

hello, because the local.profile entry is not automatically sourced on login


D.

hello, because the value specified in local.profile was not exported


E.

nothing, because the variable was not exported in local.profile


Get Premium 1z0-821 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.