there two way to update time manualy using internet if  you behind the the proxy server

1. sudo date -s "$(wget -qSO- --max-redirect=0 google.com 2>&1 | grep Date: | cut -d' ' -f5-8)Z"
another way:
2. sudo date -s "$(curl -sD - google.com | grep ^Date: | cut -d' ' -f3-6)Z"


Loading Conversation