how to update timezone after relinking /etc/localtime?
Hi,
I wanted to change the timezone from Asia/Shanghai to Asia/Hong_Kong on RHEL5U5 in a non-interactive way. After I executed the following command: Code:
ln -sf /usr/share/zoneinfo/Asia/Hong_Kong /etc/localtime Did I change the timezone to Asia/Hong_Kong successfully? Why the 'setup' program still shows the former timezone? Is there any other way to change timezone in a non-interactive way other than relinking the /etc/localtime? THANKS |
Try logging out and back in
|
Checkout 'Tips' below for RH
http://www.wikihow.com/Change-the-Timezone-in-Linux Be careful with hwclock. It can mess up your box on other OS's. hth |
All times are GMT -5. The time now is 06:20 AM. |