# timedatectl
Local time: 五 2017-12-15 21:42:38 CST Universal time: 五 2017-12-15 13:42:38 UTC #相差8小时 RTC time: 一 2017-12-18 20:23:57 Time zone: Asia/Shanghai (CST, +0800) NTP enabled: n/a NTP synchronized: no RTC in local TZ: no DST active: n/a
# rm -rf /etc/localtime
# ln -sv /usr/share/zoneinfo/Universal /etc/localtime
# timedatectl
Local time: 五 2017-12-15 13:45:01 UTC Universal time: 五 2017-12-15 13:45:01 UTC RTC time: 一 2017-12-18 20:26:21 Time zone: Universal (UTC, +0000) NTP enabled: n/a NTP synchronized: no RTC in local TZ: no DST active: n/a
-------------------------------------------------------------
作者:
罗穆瑞
转载请保留此段声明,且在文章页面明显位置给出原文链接,谢谢!
------------------------------------------------------------------------------
如果觉得这篇文章对你有小小的帮助的话,记得在右下角点个“推荐”哦,博主在此感谢!
------------------------------------------------------------------------------