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
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