关于linux:Linux-查看硬件时间设置时区同步时间

7次阅读

共计 146 个字符,预计需要花费 1 分钟才能阅读完成。

# 查看硬件工夫
hwclock -l
# 查看零碎的各个工夫和日期
timedatectl status

# 查看零碎可用时区
timedatectl list-timezones

# 设置零碎时区
timedatectl set-timezoe ZONE
# 从时钟服务器 (NTP) 同步零碎工夫
chronyc makestep
正文完
 0