nerdexam
ExamsXK0-004Questions#449
CompTIA

XK0-004 · Question #449

XK0-004 Question #449: Real Exam Question with Answer & Explanation

The correct answer is D: timedatect1 set-timezone "America/Chicago" $$ date >> mylog.txt. See the full explanation below for the reasoning.

Question

A virtual machine logs al limes using UTC The systems administrator would like to have one script that outputs times that are in the Amenca/Chicago time zone. Which of the following would the administrator MOST likely use in the script to accounts.

Options

  • Aecho 'env TZ=America/Chicago date' >> mylog.-xt
  • Bhwclock --localtime ?-mylog.txt
  • Cdate -d 'Tz="America/Chicago" now' >> mylog.txt
  • Dtimedatect1 set-timezone "America/Chicago" $$ date >> mylog.txt

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice