Difference between revisions of "OS-Linux-System"

From KRayWiki
Jump to navigation Jump to search
(Record how to set timezone on a systemd Linux box.)
(No difference)

Revision as of 00:53, 2 March 2018

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