一直到最后

导航

linux修改时区的命令

在.bash_profile里面设置 TZ='Asia/Shanghai'

$ vim .bash_profile

最后date查看时区是否改变了

$ source .bash_profile

作者:xingguang
链接: http://www.tiance.club/post/95235842.html

posted on 2020-03-01 10:09  一直到最后  阅读(322)  评论(0编辑  收藏  举报