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
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(a)insignia.com (Work), jim(a)bear-cave.org.uk (Play)
Never trust a computer you can't lift.