Linux中设置时间(有误差,不涉及ntp服务和ntpdate)

1、输入命令date 110617292018.30(MMDDhhmmYYYY.ss)

2、输入命令hwclock --systohc(设置系统时间同步上面设置的硬件时间)

3、查看时间,输入命令date

猜你喜欢

转载自blog.csdn.net/weixin_42172231/article/details/83791137