rdate(receive date)
rdate(receive date)功能说明:显示其他主机的日期与时间。
语 法:rdate [-ps][主机名称或IP地址...]
补充说明:执行rdate指令,向其他主机询问系统时间并显示出来。
参 数:
-p 显示远端主机的日期与时间。
-s 把从远端主机收到的日期和时间,回存到本地主机的系统时间。
rdate
rdate [options] [host...]
TCP/IP command. Retrieve the date and time from a host or hosts on the network and optionally set the local system time.
Options
Send errors and output to syslogd.
Print the retrieved dates.
Set the local system time from the host; must be specified by root.
Timeout each retrieval attempt after n seconds.
Use UDP instead of TCP.