查询当前时间

[root@localhost ~]# date
Wed Mar 10 12:56:28 CST 2021

/etc/profile文件中增加一行:

export TZ='CST-8'

使配置生效

source /etc/profile

Q.E.D.


Nothing really matters to me!