Which command will set the local machine’s timezone to UTC?

Which command will set the local machine’s timezone to UTC?

Which command will set the local machine’s timezone to UTC?

A.
cat UTC > /etc/timezone

B.
ln -s /usr/share/zoneinfo/UTC /etc/localtime

C.
date –timezone=UTC

D.
mv /usr/timezone/UTC /etc

Explanation:
The symlink practice was stopped some time ago, probably because a /usr is not necessarily mounted all the time.
But technically B) is correct

use tzconfig to change the timezone on recent distributions.



Leave a Reply 0

Your email address will not be published. Required fields are marked *