Mailinglist Archive: opensuse-edu (146 mails)

< Previous Next >
Re: [suse-linux-uk-schools] Time
  • From: Jim Hague <jim.hague@xxxxxxxxxxxx>
  • Date: Fri, 28 Jul 2000 14:27:45 +0000 (UTC)
  • Message-id: <XFMail.20000728152743.jim.hague@xxxxxxxxxxxx>
On 28-Jul-2000 David Willmor wrote:
> what is the command to change the time on the system from the command line?

'date -s <time>' ('man date' for details) will set the system time. You have to
be root to change the time, BTW.

If you want to store the new time back into the CMOS clock, check out 'man
hwclock'.

If you want to periodically synchronise the time with a clock at your ISP
(which in turn should be getting time sync from a chain that has an atomic
clock at the head), NTP is the stuff you want. There's a fair bit of that,
though, so I won't go into it now. /usr/doc/ntp-<version> may exist on your
system, and will provide much interesting reading.

--
Jim Hague - jim.hague@xxxxxxxxxxxx (Work), jim@xxxxxxxxxxxxxxxx (Play)
Never trust a computer you can't lift.

< Previous Next >
List Navigation
References