nerdexam
CompTIA

LX0-102 · Question #266

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

(47 responses)
  • A
    2% (1)
  • B
    72% (34)
  • C
    6% (3)
  • D
    15% (7)
  • E
    4% (2)

Community Discussion

No community discussion yet for this question.

Full LX0-102 Practice