Created
July 15, 2018 01:51
-
-
Save wilvk/52ec2cda201cca4e3e74a1dfaa3c3bf2 to your computer and use it in GitHub Desktop.
Get gmt time
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
gmttime () { | |
curl http://s3.amazonaws.com -v 2>&1 | grep "Date: " | awk '{ print $3 " " $5 " " $4 " " $7 " " $6 " GMT"}' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment