Set Linux time using remote time server

You can use the rdate command to set the correct time on a Linux system, instead of having to manually enter it. NIST has a list of time servers. You can then use hwclock to update the hardware clock.

rdate -s nist1-ny.WiTime.net
/sbin/hwclock --systohc

Leave a Reply

Your email address will not be published. Required fields are marked *