Synchronizing Server Date and Time Using rdate

You can sync or update the date and time of your linux server by using rdate command. rdate command will the check the time server and compare the date time on your server to the time server.

If there is time difference, rdate will update your server date time. To update your server date time run this command:

The list of time server can be found on this website: use the one that near with your server location.

Since my server is in Singapore then I use this command:

To set the hardware clock to match with your system clock, you can use this command:

Leave a Reply

Your email address will not be published. Required fields are marked *