Linux 系统时间与网络时间不一致 时间同步
//查看时间
date
Tue Feb 25 20:15:18 CST 2020
//修改时间
date -s "20200225 20:16:00" #yyyymmdd hh:mm:ss
date -s "05/07/2012 12:20" 手动更改系统时间为5月7号12:20
//显示硬件时间
hwclock
hwclock [-rw]
-r 查看现有BIOS时间,默认为-r参数
-w 将现在的linux系统时间写入BIOS中
-s (systohc)将硬件时间调整为和目前的系统时间一样
转载请注明原文地址:https://ipadbbs.8miu.com/read-9800.html