PrepAway - Latest Free Exam Questions & Answers

Which of the following commands will correct the problem when every time the system is booted back into Linux

On a dual boot system, every time the system is booted back into Linux the time has been set backward by two hours.

Which of the following commands will correct the problem so it will not occur again?

A.
ntpdate pool.ntp.org

B.
date -d ‘two hours’

C.
hwclock –hctosys –localtime

D.
time hwclock

Explanation/Reference:
From the man pages:
hwclock sets the kernel timezone to the value indicated by TZ and/or /usr/share/zoneinfo when you set the System Time using the –hctosys option.


Leave a Reply