0
点赞
收藏
分享

微信扫一扫

Linux 同步时间

一世独秀 2022-05-01 阅读 141

1.有ntp服务器

ntpdate ntp服务器

ntpdate 192.168.x.x

2.无ntp使用date命令

date -s "20220422 20:18:00" #yyyymmdd hh:mm:ss

同步硬件时间

hwclock -w   以系统时间为准,同步硬件时间
举报

相关推荐

0 条评论