Changing date/time in linux

I was working with some legacy system and it doesn’t have ntpd to keep the time accurate for me. I had to change the system time manually. Imagine I have to do it for day light saving as well.

system time can be changed easily using the following syntax:


hardware clock can then be sync with the system time using:

hwclock –systohc

Like it.? Share it:

Comments are closed.