How to Set Linux Time Zone in Console

Change Time Zone for RHEL/CentOS and Fedora

This post shows how to query and set the time zone in the command line on RHEL 8, CentOS 8 and Fedora 30. The command line tool timedatectl use to check and modify time zone setting.

Run the query using timedatectl without additional arguments:

Now set the time zone to another zone:

To query the changed time zone setting:

The available time zones showing with the following command:

Since there are many time zones, the query becomes very long; the query can be narrowed down with grep:

Leave a Reply

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