Wednesday, 3 February 2016

If you are blocked from using NTP, this is a horrible hack, but it works

date -s "$(wget -qSO- --max-redirect=0 google.com 2>&1 | grep Date: | cut -d' ' -f5-8)Z"

Thanks for this from http://askubuntu.com/users/367165/a-b