Chinaunix首页 | 论坛 | 博客
  • 博客访问: 81925
  • 博文数量: 42
  • 博客积分: 185
  • 博客等级: 入伍新兵
  • 技术积分: 250
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-25 21:43
文章分类

全部博文(42)

文章存档

2012年(38)

2010年(4)

我的朋友

分类:

2012-03-07 19:42:00

原文地址:linux系统查看时区 作者:syxian

在/etc/profile中设置TZ:export TZ=Asia/Shanghai or export TZ=GMT

[oracle@oracle ~]$ cat /etc/sysconfig/clock 
# The ZONE parameter is only evaluated by system-config-date.
# The timezone of the system is defined by the contents of /etc/localtime.
ZONE="Asia/Shanghai"
UTC=true
ARC=false

ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
阅读(292) | 评论(0) | 转发(0) |
0

上一篇:性能分析工具汇总

下一篇:linux 清空buffer

给主人留下些什么吧!~~