Created
September 8, 2020 04:51
-
-
Save Ameen-Alam/7bf0f43ddf8c2b8cb3341b6ab30c6ddd to your computer and use it in GitHub Desktop.
Change Timezone from CST To EST in CentOS/RHEL 7 Server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# List all the available timezones using the below command: | |
timedatectl list-timezones | |
# Locate the correct timezone you need that is in the central timezone | |
# Set the specific timezone. For example, to set central timezone | |
timedatectl set-timezone America/Chicago | |
# Run the “date” command to verify the changes | |
date |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://www.thegeekdiary.com/how-to-change-timezone-from-cst-to-est-in-centos-rhel-7-server/
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones