Thursday, February 10, 2011

How to change Time in Linux

Set timezone using /etc/localtime configuration file [any Linux distro]
Often /etc/localtime is a symlink to the file localtime or to the correct time zone file in the system time zone directory.

Create a symlink to file localtime:
# ln -sf /usr/share/zoneinfo/EST /etc/localtime

No comments:

Post a Comment