linux 时间无法设置或者设置不对
本帖最后由 WQ_ZWD 于 2023-2-6 15:20 编辑使用xshell等远程工具连接进平板
进去 /etc/profile
在后面加这三行
时区更正,同步系统时间和硬件时间:
TZ=UTC-00:00
export TZ
hwclock -s
设置系统时间命令:
date-s "2022-01-01 11:34:45"hwclock -w //同步date时间到硬件hwclock
设置后分别执行hwclock -r 和date 对比时间。
页:
[1]