OS-Linux-System

From KRayWiki
Revision as of 00:53, 2 March 2018 by Krb (talk | contribs) (Record how to set timezone on a systemd Linux box.)
(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