2024年6月5日发(作者:)
46 east China - Beijing, Guangdong, Shanghai, etc.
47
48 Therefore TZ='Asia/Shanghai' will be used.
49 Local time is now: Sat Aug 6 17:55:56 CST 2016.
50 Universal Time is now: Sat Aug 6 09:55:56 UTC 2016.
51 Is the above information OK?
52 1) Yes
53 2) No
54 #? 1
55
56 You can make this change permanent for yourself by appending the line
57 TZ='Asia/Shanghai'; export TZ
58 to the file '.profile' in your home directory; then log out and log in again.
59
60 Here is that TZ value again, this time on standard output so that you
61 can use the /usr/bin/tzselect command in shell scripts:
62 Asia/Shanghai
63 [root@localhost ~]#
64 [root@localhost ~]#


发布评论