📜  获取当前时间 curl - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:22.543000             🧑  作者: Mango

代码示例1
$ date -s `curl -I 'https://google.com/' 2>/dev/null | grep -i '^date:' | sed 's/^[Dd]ate: //g'`