Monday, August 30, 2010

How to Set & Sync Linux Clock to Hardware Clock

Check clock settings: 
cat /etc/sysconfig/clock


Sync hardware clock to system clock:
/sbin/hwclock --systohc


Create a symbolic link to the appropriate timezone from /etc/localtime. 
Example: ln -sf /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime


http://www.linuxsa.org.au/tips/time.html

No comments:

Post a Comment