Getting time google.com
Some time setting up time using ntp server does not work in Ubuntu, especially when you are inside some kind of proxy. And setting up time manually may not be accurate and obviously you need to know time properly. But there is way in which you can set time using time stamp from google. Just open the terminal and run the following command. date -s "$(curl -sD - google.com | grep ^Date: | cut -d' ' -f3-6)Z" Hope this will help. Cheers A. Paul