Linux – sync time on linux using ntp and persist it

linuxntptime

on linux to sync time with ntp you say

ntpdate pool.ntp.org

however after reboots, the time gets reset to some odd value again. is there a way to persist the changes?

how do I set the computer clock to the correct time and then keep it correct after reboot?

Best Answer

As you discovered, ntpdate is a one-shot deal.

You want ntpd.