What is true about the ntpdate command?
A. It is the primary management command for the NTP time server.
B. It updates the local system's date (i.e. day, month and year) but not the time (i.e. hours, minutes, seconds).
C. It queries one or more NTP time servers and adjusts the system time accordingly.
D. It sends the local system time to one or many remote NTP time servers for redistribution.
E. It can be used by any user to set the user clock independently of the system clock.
题解
「ntpdate」指令可以透过 NTP 来设置本地的日期和时间。
选项 A,「ntpdate」应该是 NTP 客户端在使用的指令。
选项 B,「ntpdate」指令不仅能设置日期,也可以设置时间。
选项 C,正确答案。
选项 D,方向反了,「ntpdate」指令会从 NTP 服务器接收日期和时间的信息。
选项 E,只有 root 可以设置系统时间,一般用户不行。
