This post assumed that we will change the System Timezone from the command line without using redhat-config-date. There are several files and directories that are used for time zones. There is one directory that very useful to select the appropriate time zone which is /usr/share/zoneinfo directory. In this case i will select zineinfo “Brazil/East”. This post has been tested on Red Hat Enterprise Linux 6 (RHEL 6).
/usr/share/zoneinfo – this directory contains the System Timezone files that were compiled by zic. These are binary files and cannot be viewed with a text viewer. The files contain information such as rules about DST. They allow the kernel to convert UTC UNIX time into appropriate local dates and times.
In order to change the System Timezone of your system you will need to access the file /etc/sysconfig/clock directly:
[[email protected] ~]# vi /etc/sysconfig/clock
How to Display current date and time :
[[email protected] ~]# date Wed May 30 22:48:41 BRT 2012