Created
January 26, 2021 17:35
-
-
Save pweinzettel/b2a408b581ae4b3b382ac6b99a389cd3 to your computer and use it in GitHub Desktop.
bash sync date from google without NTP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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