Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
update time in ubuntu 16.04
sudo date -s "$(wget -qSO- --max-redirect=0 google.com 2>&1 | grep Date: | cut -d' ' -f5-8)Z"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.