Linux系统更改系统时区
查看当前所在时区:
[root@monitor ~]# ll /etc/localtime
lrwxrwxrwx 1 root root 35 1月 2 10:35 /etc/localtime -> ../usr/share/zoneinfo/Europe/London
[root@monitor ~]#
查看时区列表:
[root@monitor ~]# timedatectl list-timezones | grep Shanghai
Asia/Shanghai
更改当前时区:
[root@monitor ~]# timedatectl set-timezone Asia/Shanghai
2019年1月2日10:40:53
版权声明:
作者:龙魂
链接:https://blog.wlzs.cn/linux%e7%b3%bb%e7%bb%9f%e6%9b%b4%e6%94%b9%e7%b3%bb%e7%bb%9f%e6%97%b6%e5%8c%ba/
文章版权归作者所有,未经允许请勿转载。
THE END