linux同步当前网络时间

[root@root ~]# yum install -y ntpdate

执行:ntpdate
[root@root ~]# ntpdate 120.24.81.91

[root@root ~]# ntpdate pool.ntp.org

date命令查看当前时间:
[root@root ~]# date

原文地址:https://www.cnblogs.com/IT-Crowd/p/10626577.html