Re: Time


Subject: Re: Time
From: Clay Scott (mcfeelie@pobox.alaska.net)
Date: Tue Apr 30 2002 - 21:23:57 AKDT


try 'man date'. the syntax is date MMDDhhmmYY.
month/day/hour/minute/year

to set the current date and time for anchorage (apr. 30, 2002 @ 9:20pm)
would be:

date 0430212002

to save that to the hardware clock for after reboots, since i've noticed
it doesn't always get saved properly, use the utility hwclock

/sbin/hwclock --systohc

this should be done on your next system shutdown, but after having to
figure out why this wasn't happening a long while back, i do it just to
be sure on the few times i ever have to change my clock manually.

you might also want to look up the gnome app 'gnuclear'. it's an atomic
clock app that gives you a list of servers to choose from and, if run as
root, allows you to change the system clock to match.

clay

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Tue Apr 30 2002 - 21:23:55 AKDT