Created
August 1, 2016 01:43
-
-
Save Tiryoh/2cad1b7db3cdc9bc2f7e9c4bcb7a5bcf to your computer and use it in GitHub Desktop.
Ubuntu date setup
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
#!/bin/bash | |
# Check https://raw.githubusercontent.com/Tiryoh/oneliners/master/set_date.sh for new version | |
sudo date -s "$(curl -s --head http://www.google.co.jp | grep '^Date' | cut -b 7-)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment