ntpdate command

LINUX-Frequently used commands

ntpdate command Set the time on the server.
Syntax
ntpdate  [Time server name (or IP address)]
The ntpdate command connects to a time server on the Internet (an NTP server) and corrects the server's own time..
You can run the ntpdate command periodically to keep the time correct at all times.
This command must be run as must be run with super user (root) privileges.
Frequently used options
-b            Forced time correction
-d            Enable debug mode
-s            Output log to syslog when ntpdate is run
-t <Seconds>      Specify the timeout period (default 1 second).
Example: Correcting the time.
$  ntpdate  ntp.jst.mfeed.ad.jp   ← Connect to ntp.jst.mfeed.ad.jp and correct the time
Main NTP servers.
ntp.jst.mfeed.ad.jp
ntp.nict.jp
s2csntp.miz.nao.ac.jp
ats1.e-timing.ne.jp
Copied title and URL