Sunday, December 16, 2007

Setting Linux Time

Setting Linux Time

Programs for working with time and date are:
clock - This is a soft link to hwclock.
date(1) - Print or set the system date and time.
hwclock(8) - Sets the hardware clock based on values entered on the command line.
setclock(8) - Sets the BIOS hardware clock based on the time and setup of the system clock.
timeconfig(8) - A program used to configure the system configuration file "/etc/sysconfig/clock" which includes the type of clock and timezone.

commands:

rdate -s tick.greyware.com
/sbin/hwclock --systohc

No comments: