hwclock

How to set and keep the exact time in sync on your Debian computer using systemd-timesyncd

botond published March 2024, 01, Thu - 18:20 time
In the world of modern information technology, the use of accurate time is a critical aspect. In today's Linux operating systems, there are many solutions to ensure that our system's clock is always synchronized with world time. In this short description, we will see how to set the date, the exact time and our time zone manually, and how to activate time synchronization with the Internet.

hwclock

The manual page and help for the hwclock Linux command. hwclock (Hardware Clock) is a basic command-line tool on Linux operating systems that allows you to manage the system's hardware clock (often referred to as RTC, or Real-Time Clock). This clock is a separate chip on the computer's motherboard that runs continuously, even when the system is turned off. With the help of hwclock, we can read and set the current time value of the hardware clock, which plays an important role in maintaining and synchronizing the system time.