Linux - Synchronize the system clock with a time server

April 2017





The ntpdate command can be used to synchronize the system time of Linux with a time server, for example:
ntpdate time.server.com 


To synchronize the system clock (hardware) as well, simply run this command after the previous one:
hwclock --systohc 

Related


Published by jak58. Latest update on November 25, 2009 at 09:01 AM by jak58.
This document, titled "Linux - Synchronize the system clock with a time server," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).