我在redhat 7中找不到/etc/sysconfig/clock。redhat7中有任何等效的文件吗?
发布于 2015-06-30 16:07:49
在RedHat 7系统上,您可以使用timedatectl实用程序。
例如
# timedatectl set-timezone Europe/Rome 设置系统时区(它管理/etc/localtime符号链接)
# ls -l /etc/localtime
lrwxrwxrwx. 1 root root 33 Jun 30 17:59 /etc/localtime -> ../usr/share/zoneinfo/Europe/Rome或
# timedatectl set-local-rtc 0将RTC保持在通用时间内(它更改了/etc/adjtime的第3行)
https://unix.stackexchange.com/questions/213022
复制相似问题