DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
get current time curl
$ date -s `curl -I 'https://google.com/' 2>/dev/null | grep -i '^date:' | sed 's/^[Dd]ate: //g'`
Source by askubuntu.com #
PREVIOUS
NEXT
Tagged:
#current
#time
#curl
ADD COMMENT
Topic
COMMENT
Name
6+4 =
Submit