diff options
Diffstat (limited to 'httpdate')
-rwxr-xr-x | httpdate | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/httpdate b/httpdate new file mode 100755 index 0000000..437f345 --- /dev/null +++ b/httpdate @@ -0,0 +1,3 @@ +#!/bin/bash + +date -s "$(curl -I google.com | sed -rn "s/^Date: (.*)$/\1/p")" |