RDATE(8) System Manager's Manual RDATE(8)

NAME

rdateset the system's date from a remote host

SYNOPSIS

rdate [-psa] host

DESCRIPTION

rdate displays and sets the local date and time from the host name or address given as the argument. It uses the RFC 868 protocol which is usually implemented as a built-in service of inetd(8).

Available options:

-p
Do not set, just print the remote time
-s
Do not print the time.
-a
Use the adjtime(2) call to gradually skew the local time to the remote time rather than just hopping.

FILES

/var/log/wtmp
A record of date resets and time changes.

SEE ALSO

adjtime(2), gettimeofday(2), utmp(5), inetd(8)
April 30, 1994 NetBSD 6.1