时间同步

sudo date -s "$(curl http://s3.amazonaws.com -v 2>&1 |
grep "Date: " | awk '{ print $3 " " $5 " " $4 " " $7 " " $6 " GMT"}')"

资料来源

https://askubuntu.com/questions/429306/ntpdate-no-server-suitable-for-synchronization-found

posted on 2022-01-06 14:51  石圪节胡德禄  阅读(62)  评论(0编辑  收藏  举报

导航