Configure Time Zone Using Shell Commands

27 Feb 2012

Tested on

OS: CentOS 6.2 Hardware: Virtual Machine (VirtualBox 4.1.8)

Configure Time Zone Using Shell Commands

vi /etc/sysconfig/clock
ZONE="Israel"
rm -f /etc/localtime
ln -s /usr/share/zoneinfo/Israel /etc/localtime

For more information on time, date and time zone configuration please check the following: http://www.vanemery.com/Linux/RH-Linux-Time.html