Linux: How to Synchronize Time in Ubuntu or Debian?

less than a minute of reading

You can easily synchronize time of your Linux servers or desktop machines by using ntpdate command.

Open terminal and type:


You can change the address of time server ( to a different one that suits your needs.

If you don't have ntpdate installed, do I with the following command:

sudo apt-get install ntp

The following solution is suitable for both Ubuntu and Debian.


Words: 70
Published in: Debian · Linux · Ubuntu