Skip to content

Instantly share code, notes, and snippets.

@jon-grangien
Created March 16, 2018 18:18
Show Gist options
  • Save jon-grangien/65fbeddde85801ef9d9bc781d904d283 to your computer and use it in GitHub Desktop.
Save jon-grangien/65fbeddde85801ef9d9bc781d904d283 to your computer and use it in GitHub Desktop.
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