LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 847|回复: 1

请问这是什么意思???

[复制链接]
发表于 2003-1-14 19:47:51 | 显示全部楼层 |阅读模式
Therefore TZ='Asia/Shanghai' will be used.
Local time is now:      Wed Jan 15 04:45:51 CST 2003.
Universal Time is now:  Tue Jan 14 20:45:51 UTC 2003.
Is the above information OK?
1) Yes
2) No
#? 1

You can make this change permanent for yourself by appending the line
        TZ='Asia/Shanghai'; export TZ
to 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 you
can use the /usr/bin/tzselect command in shell scripts:
Asia/Shanghai

后面说的是啥意思呀???
发表于 2003-1-14 20:38:12 | 显示全部楼层
有两种方法来设置时区,一个是在设置文件里设置TZ环境变量,一个是用链接。我们一般都是用链接的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表