Skip to content

Instantly share code, notes, and snippets.

@pweinzettel
Created January 26, 2021 17:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pweinzettel/b2a408b581ae4b3b382ac6b99a389cd3 to your computer and use it in GitHub Desktop.
Save pweinzettel/b2a408b581ae4b3b382ac6b99a389cd3 to your computer and use it in GitHub Desktop.
bash sync date from google without NTP
date -us "$(curl -Is google.com | grep '^Date:' | cut -d' ' -f3-)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment