"CentOS 7.1" time setting

Source: Internet
Author: User
Tags time zones

View time zones

Cat/etc/localtime

[Email protected] ~]# Cat/etc/localtime

Tzif?\??? ' P????? Z?? 6ip ~h?! Iap "^j?#) cp$gg%_?& ' I&? A? (+ (? #?~?p?) CDTCSTTZif2

???? ~6C)????? \???????‘ P????????????? Z?? 6ip ~h?! Iap "^j?#) cp$gg%_?& ' I&? A? (+ (? #?q?~?plmtcdtcst

CST-8

[Email protected] ~]#


Show Hardware Time

[Email protected] ~]# Hwclock-r

June 30, 2015 Tuesday 15:20 15 seconds-0.298092 seconds

[Email protected] ~]#


Show Software Time

[[Email protected] ~]# Date

June 30, 2015 Tuesday 15:27:32 CST

[Email protected] ~]#


Ntpdate

[Email protected] ~]# ntpdate 0.pool.ntp.org

June 15:47:28 ntpdate[6848]: Adjust time server 202.112.10.36 offset 0.001452 sec

[Email protected] ~]#


Write Hardware time

[Email protected] ~]# hwclock-w

[Email protected] ~]# Hwclock-r

June 30, 2015 Tuesday 15:49 14 seconds-0.187905 seconds

[Email protected] ~]#

"CentOS 7.1" time setting

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.