Skip to content

Instantly share code, notes, and snippets.

@icarrr
Last active November 12, 2019 08:31
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 icarrr/609fbf80767ea76d4e0b9c01401360cc to your computer and use it in GitHub Desktop.
Save icarrr/609fbf80767ea76d4e0b9c01401360cc to your computer and use it in GitHub Desktop.
Get Time by Head Google
date '+%Y%m%d_%H%M%S' -d "$(curl -s --head http://google.com | grep ^Date: | sed 's/Date: //g')"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment