72 lines
980 B
HTML
72 lines
980 B
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>readclock(8)</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<H1>readclock(8)</H1>
|
|
<HR>
|
|
<PRE>
|
|
|
|
</PRE>
|
|
<H2>NAME</H2><PRE>
|
|
readclock - read the real time clock [IBM PC/AT and AMIGA]
|
|
|
|
|
|
</PRE>
|
|
<H2>SYNOPSIS</H2><PRE>
|
|
<STRONG>readclock</STRONG>
|
|
|
|
|
|
</PRE>
|
|
<H2>EXAMPLES</H2><PRE>
|
|
|
|
<STRONG>date</STRONG> <STRONG>`/usr/bin/readclock`</STRONG> <STRONG></dev/tty</STRONG>
|
|
# Useful in /<EM>etc</EM>/<EM>rc</EM>
|
|
|
|
|
|
</PRE>
|
|
<H2>DESCRIPTION</H2><PRE>
|
|
|
|
<EM>Readclock</EM> reads the AT's real time clock and prints the result in a form
|
|
useful to date, namely, MMDDYYhhmmss. If the clock does not exist (e.g.,
|
|
on a PC), it outputs '-q' to query the user for the time. The example
|
|
given above can be put in /<EM>etc</EM>/<EM>rc</EM> to load the real time when the system
|
|
is booted.
|
|
|
|
|
|
</PRE>
|
|
<H2>SEE ALSO</H2><PRE>
|
|
<STRONG><A HREF="../man1/date.1.html">date(1)</A></STRONG>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</PRE>
|
|
</BODY>
|
|
</HTML>
|