3 readclock \- read or set a real time clock
5 \fBreadclock\fP [\fB\-nqwW2\fP]
8 reads the real time clock and sets the operating system time. It is usually
9 the second thing done in
11 the first thing is setting the time zone by sourcing
13 This means that the clock is assumed to tell the wall clock time. If you
14 want to run the clock in GMT then you can put
16 (or any other TZ value) in front of the readclock command.
20 Play-act, don't set the time nor change the calibration data, just show what
24 Quiet execution. Suppresses all output.
27 Write the current time to the hardware clock. Dangerous, see
31 in front of readclock if the clock should run in GMT.
36 but also sets the status registers of the CMOS clock to their proper values.
37 (For if the clock suddenly runs at an odd pace or has stopped and the BIOS
41 Add 20 to any year before 2000. If your CMOS clock year can't run past 2000,
42 then you can set it to 1980 and use
44 to correct the year. Together with
46 the year minus 20 is written to the clock.
50 Timezone and other shell initialization code.
55 Reported to not work on some AT's.
57 May mess up the clock royally when setting it
59 Only if you have a very standard AT and you are not afraid of having your
60 CMOS setup reset to the default with a "checksum error" should you use
62 to set the time of the CMOS clock. You have been warned.
64 Kees J. Bot (kjb@cs.vu.nl)