其实很简单。。。
在.bashrc或者.bash_profile中加入:
.bashrc
.bash_profile
TZ='Asia/Shanghai'; export TZ
然后source一下即可
source
source ~/.bashrc