Home » linux » Synchronizing the Hardware Clock with System Time
To set the hardware clock to the current system time and keep the hardware clock in local time, run the following command
sudo hwclock --systohc --localtime