Monday, 4 May 2015

Update TimeZone On Unix


The localtime setting is store in the file /etc/localtime

1. Backup the existing Local Time setting
          # mv /etc/localtime /etc/localtime.bak
2. The directory for others Local Time  /usr/share/zoneinfo. We need to do the soft link to this location. eg. Kuala Lumpur Time Zone.
          # ln -s /usr/share/zoneinfo/Asia/Kuala_Lumpur /etc/localtime
3. Check the current date by typing command :
          # date
          Tue May  5 10:40:51 MYT 2015

No comments:

Post a Comment