KP Solutions

Solutions for Day to Day Technical Problems

How to sync time in Linux, Unix

| 0 comments

Very often, one would have seen that the server/desktop time goes off by some seconds/minutes than the standard time.

It’s very easy to sync up the time in Linux/Unix. Issue the following command as ‘root’ to update the time.

ntpdate pool.ntp.org

To automate this time update, you can set up a cron job to run once every week.