nerdexam
LPI

117-102 · Question #193

Which of the following configuration files should be modified to set default shell variables for all users?

The correct answer is B. /etc/profile. See the full explanation below for the reasoning.

Question

Which of the following configuration files should be modified to set default shell variables for all users?

Options

  • A/etc/bashrc
  • B/etc/profile
  • C~default/.bash_profile
  • D/etc/skel/.bashrc
  • E/etc/skel/.bash_profile

How the community answered

(63 responses)
  • A
    2% (1)
  • B
    84% (53)
  • C
    5% (3)
  • D
    8% (5)
  • E
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 117-102 Practice