ChinaUnix.net
相关文章推荐:

linux 设置时区

linux设置时间( date --set ),设置时区( tzselect ) 1.tzselect命令 tzselect 即 time zone select 时区选择 [root@localhost ~]# tzselect Please identify a location so that time zone rules can be set correctly. Please select a continent or ocean. 1) Africa 2) Americas 3) Antarctica 4) Arctic Ocean 5) Asia 6) Atlantic Ocean 7) Australia 8) Europe 9) Indian Ocean 10) Pacific Ocean 11) none -...

by ubuntuer - Linux文档专区 - 2009-11-14 10:26:45 阅读(1126) 回复(0)

相关讨论

修改时区命令#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 一...

by 从未被和谐 - Linux文档专区 - 2009-03-30 17:10:48 阅读(944) 回复(0)

Local vs. UTC 首先重要的问题是你使用utc还是local time. UTC(Universal Time Coordinated)=GMT(Greenwich Mean Time) Local time 是你手表上的时间 传统的POSIX计算机(Solaris,bsd,unix)使用UTC格式 linux可以处理UTC时间和蹩脚的Windows所使用的local time 到底是使用UTC还是local time可以这样来确定: 如果机器上同时安装有linux和Windows,建议使用local time 如果机器上只安装有linux,建议使用utc 确定后编辑/etc/syscon...

by windychan - Linux文档专区 - 2005-11-07 09:50:14 阅读(535) 回复(0)

首先重要的问题是你使用utc还是local time.(Local vs. UTC) UTC(Universal Time Coordinated)=GMT(Greenwich Mean Time) Local time 是你手表上的时间 传统的POSIX计算机(Solaris,bsd,unix)使用UTC格式 linux可以处理UTC时间和蹩脚的Windows所使用的local time 到底是使用UTC还是local time可以这样来确定: 如果机器上同时安装有linux和Windows,建议使用local time 如果机器上只安装有linux,建议使用utc 确定后编辑/etc/sy...

by qtview - Linux文档专区 - 2009-07-26 15:16:18 阅读(795) 回复(0)

设置时区方法: 一、使用命令方式:timeconfig 二、把/usr/share/zoneinfo里相应的时区与/etc/localtime做个软link.比如使用上海时区的时间:ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 如果要使用UTC计时方式,则应在/etc/sysconfig/clock文件里改UTC=TRUE 时间的设置: 使用date 命令加s参数修改,注意linux的时间格式为"月日时分年",也可以只修改时间date -s 22:30:20,如果修改的是年月日和时间,格式为"月日时分年...

by blygl - Linux文档专区 - 2007-03-17 11:04:14 阅读(727) 回复(0)

2006-09-19 22:14 cyliu ------------------------------------------------------------ setting system time from linuxtips(www.linuxsa.org) ---------------------------------------- 操作系统通常有两个时间基准,一个是由电池供电,一直在运行的硬件时钟(通常称为‘CMOS’,‘BIOS’时钟),另一个是由操作系统软件维护的软时钟。通常硬件时间只有一次使用,就是在启动系统的时候,初始化系统时钟。从系统启动之后,...

by whiteear - Linux文档专区 - 2006-09-19 22:40:26 阅读(593) 回复(0)

时区设置 linux下的时区设置: 有两个文件要进行修改 /etc/sysconfig/clock 复制 /usr/share/zoneinfo/asia/shanghai为 /etc/localtime 最简单的办法当然是 timeconfig,选择一个就可以喽 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/82938/showart_1969088.html

by chinalinuxzend - Linux文档专区 - 2009-06-18 18:35:34 阅读(825) 回复(0)

rt TZ环境变量可能没设置。不能从TZ取 /etc/localtime里好像有,但是是二进制的 [ 本帖最后由 源方 于 2007-4-26 15:59 编辑 ]

by 源方 - C/C++ - 2007-04-26 15:27:23 阅读(2265) 回复(1)

请问我要把系统时区设置为GMT+8的时区要怎么设置呢?谢谢

by itnow - 系统管理 - 2006-09-11 17:03:12 阅读(1311) 回复(2)

请问我要把系统时区设置为GMT+8的时区要怎么设置呢?谢谢

by itnow - Linux系统管理 - 2006-09-11 17:03:12 阅读(1657) 回复(2)

Local vs. UTC 首先重要的问题是你使用utc还是local time. UTC(Universal Time Coordinated)=GMT(Greenwich Mean Time) Local time 是你手表上的时间 传统的POSIX计算机(Solaris,bsd,unix)使用UTC格式 linux可以处理UTC时间和蹩脚的Windows所使用的local time 到底是使用UTC还是local time可以这样来确定: 如果机器上同时安装有linux和Windows,建议使用local time 如果机器上只安装有linux,建议使用utc 确定后编辑/etc/sysconf...

by qepafrps - Linux文档专区 - 2006-03-05 01:57:07 阅读(622) 回复(0)