First configure you have to your timezone by running the command on terminal

sudo dpkg-reconfigure tzdata

Then choose your preferred timezone from the prompts

Then run these two following command and you’re good.

Working internet connection required

sudo ntpd -qg;
sudo hwclock -w

The following example shown for ubuntu/debian based distros. for other distros system is the same but the command may differ

sejan

code is poetry

This Post Has One Comment

Leave a Reply