OS-Linux-System

From KRayWiki
Revision as of 00:55, 2 March 2018 by Krb (talk | contribs) (Note that the timezone change method given is sufficient to be retained over reboot.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
See Also 
OS-Linux

Time

Time Zone

systemd

Distributions with systemd, like RHEL 7 and CentOS 7, can require use of tools not historically used to set the time zone. The timedatectl command is useful. For example:

$ date
Thu Mar 1 19:49:10 EST 2018
$ timedatectl list-timezones
$ timedatectl list-timezones | grep America
$ timedatectl set-timezone America/Chicago
Thu Mar 1 18:51:43 CST 2018

This change is preserved over system reboot.