linux 时区设置
tzselect命令只告诉你选择的时区的写法,并不会生效。所以现在它还是东8区北京时间。
root@new55 ~]# date -R Mon, 06 Dec 2010 10:46:11 +0800
示例三通过更改配置文件来修改时区
[root@new55 ~]# cat /etc/sysconfig/clock # The ZONE parameter is only evaluated by system-config-date. # The timezone of the system is defined by the contents of /etc/localtime. ZONE="Asia/Shanghai" UTC=true ARC=false
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
相关推荐
farwang 2020-11-25
星愿心愿 2020-11-24
tianhuak 2020-11-24
zhjn0 2020-11-24
昭君出塞 2020-11-23
bluecarrot 2020-11-23
linuxwcj 2020-10-21
以梦为马不负韶华 2020-10-20
彼岸随笔 2020-10-20
yutou0 2020-10-17
applecarelte 2020-10-16
ourtimes 2020-10-16
waterhorse 2020-09-19
MRFENGG 2020-11-11
rainandtear 2020-10-30
kyssfanhui 2020-10-20
liuhangtiant 2020-10-20