标题: linux时区设置 [打印本页] 作者: 从未被和谐 时间: 2009-03-30 17:10 标题: linux时区设置 修改时区命令#zselect选择:5911注意最后以下的部分。You can make this change permanent for yourself by appending the line TZ='Asia/Shanghai'; export TZto the file '.profile' in your home directory; then log out and log in again.
Here is that TZ value again, this time on standard output so that youcan use the /usr/bin/tzselect command in shell scripts:Asia/Shanghai
一定要记得把TZ='Asia/Shanghai'; export TZ加入到/etc/profile文件里并且在当前shell中执行一下TZ='Asia/Shanghai'; export TZ。。否则时区永远改不过来