One Day One Cmd

Place for playing with commands…

Day 69: Synchronize your PC with NTS

ODOC: If you want to set your system time accurate you have to install ntp for that. You can install it using following command, after then use any public time server to synchronize.

root@bala-desktop:~# apt-get install ntp
root@bala-desktop:~# ntpdate

Some other public time servers:

You have to stop the ntp server before doing the above things. you can do it by

root@bala-desktop:~# /etc/init.d/ntp stop
* Stopping NTP server ntpd                                              [ OK ]
root@bala-desktop:~# ntpdate
28 Mar 13:32:22 ntpdate[2632]: adjust time server offset 0.027067 sec

With Regards,
V. Balakrishnan.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: