Skip to content

Instantly share code, notes, and snippets.

@itsamenathan
Created December 16, 2014 14:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save itsamenathan/691d061242b0b877f522 to your computer and use it in GitHub Desktop.
Save itsamenathan/691d061242b0b877f522 to your computer and use it in GitHub Desktop.
poor mans ntp
date -s "$(curl -s --head http://google.com | awk '/^Date/ {$1=""; print $0}')"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment