United States (change)
Shortcuts: Downloads Fedora Red Hat Network
Account Links: Cart Your Account Logout
The /usr/share/zoneinfo/ directory contains files for all the available time zones. The system's time zone can be changed from the command line by replacing the existing /etc/localtime file with the desired time zone file from the /usr/share/zoneinfo directory. To change the timezone, execute the commands as given below:
#cp /usr/share/zoneinfo/<Path-Of-Zone-File> /etc/localtime
Edit the /etc/sysconfig/clock file and change the value of the "ZONE" parameter to the name of the desired time zone. For example, if a user wants to change the time zone from America/Los_Angeles to America/New_York then the "ZONE" line in /etc/sysconfig/clock should look like the example given below:
ZONE="America/New_York"