nerdexam
CompTIA

LX0-102 · Question #234

Which of the following commands will set the local machine's timezone to UTC?

The correct answer is B. ln -s /usr/share/zoneinfo/UTC /etc/localtime. See the full explanation below for the reasoning.

Question

Which of the following commands will set the local machine's timezone to UTC?

Options

  • Acat UTC > /etc/timezone
  • Bln -s /usr/share/zoneinfo/UTC /etc/localtime
  • Cdate --timezone=UTC
  • Dmv /usr/timezone/UTC /etc

How the community answered

(23 responses)
  • A
    4% (1)
  • B
    83% (19)
  • C
    9% (2)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full LX0-102 Practice