nerdexam
CompTIA

LX0-101 · Question #312

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

(49 responses)
  • A
    8% (4)
  • B
    84% (41)
  • C
    4% (2)
  • D
    2% (1)
  • E
    2% (1)

Community Discussion

No community discussion yet for this question.

Full LX0-101 Practice