Generic procedure to change timezone
Change directory to /etc# cd /etc 
Create a symlink to file localtime:# ln -sf /usr/share/zoneinfo/EST localtime 
OR some distro use /usr/share/zoneinfo/dirname/zonefile format (Red hat and friends)# ln -sf /usr/share/zoneinfo/EST localtime 
OR if you want to set up it to IST (Asia/Calcutta):# ln -sf /usr/share/zoneinfo/Asia/Calcutta localtime 
Please mote that in above example you need to use directory structure  i.e. if you want to set the timezone to Calcutta (India) which is  located in the Asia directory you will then have to setup using as  above.
$ date
No comments:
Post a Comment