精通
英语
和
开源
,
擅长
开发
与
培训
,
胸怀四海
第一信赖
锐英源精品开源心得,转载请注明:“锐英源www.wisestudy.cn,孙老师作品,电话13803810136。需要全文内容也请联系孙老师。
The /usr/sbin/rtc command is used to reconcile the difference in the way time is established between UNIX systems, which utilize Greenwich Mean Time (GMT), and MS-DOS systems, which utilize local time. When used with no arguments, rtc displays the currently configured time zone string which was recorded when rtc -z zone-name ws last run.
usr/sbin/rtc命令用来调和的差异时间是UNIX系统之间建立的方式,它利用格林威治标准时间(GMT)和当地时间ms - dos系统。当不使用任何参数,rtc显示当前时区配置字符串时记录rtc - z区域名称,ws持续运行。
The rtc command is not normally run from a shell prompt; it is generally invoked by the system. Commands such as date(1) and rdate(1M), which are used to set the time on a system, invoke /usr/sbin/rtc -c to ensure that daylight savings time (DST) is corrected for properly.
RTC的命令通常不会在shell提示符下运行;它通常是由系统调用。命令例如日期(1)和rdate(1米),用于设置系统上的时间,调用/usr/sbin/rtc - c,以确保夏令时DST)是正确的。
This option checks for DST and makes corrections if necessary. It is normally run once a day by a cron job.
此选项检查DST,必要时进行修正。它通常每天会按一个cron作业运行一次。
If there is no RTC time zone or /etc/rtc_config file, this option will do nothing. 如果没有RTC时区或/etc/rtc_config文件,这个选项将什么也做不了。
-z zone-name - z区域名称This option, which is normally run by the system at software installation time, is used to specify the time zone in which the RTC is to be maintained. It updates the configuration file /etc/rtc_config with the name of the specified zone and the current GMT lag for that zone. If there is an existing rtc_config file, this command will update it. If not, this command will create it.
这个选项,通常由系统在软件安装的时间运行,用于指定的时区RTC维护。更新配置文件/etc/rtc_config指定的名称区和当前GTM延迟的区域。如果有一个现有rtc_config文件中,这个命令将会更新。如果没有,这个命令将创建它。