centos 中怎么設(shè)置二十四小時(shí)制

發(fā)布時(shí)間:2024-07-09
centos 中怎么設(shè)置二十四小時(shí)制,很多新手對(duì)此不是很清楚,為了幫助大家解決這個(gè)難題,下面小編將為大家詳細(xì)講解,有這方面需求的人可以來學(xué)習(xí)下,希望你能有所收獲。
tzselect
根據(jù)提示選擇
5 –> 9–>1–>1–>ok
rm/etc/localtimeln-sf/usr/share/zoneinfo/asia/shanghai/etc/localtime
這時(shí)就可以看到時(shí)間已經(jīng)修改成為國(guó)內(nèi)的時(shí)間了。時(shí)間也對(duì)的。時(shí)間為24小時(shí)制。
[root@localhostsrc]#tzselectpleaseidentifyalocationsothattimezonerulescanbesetcorrectly.pleaseselectacontinentorocean.1)africa2)americas3)antarctica4)arcticocean5)asia6)atlanticocean7)australia8)europe9)indianocean10)pacificocean11)none-iwanttospecifythetimezoneusingtheposixtzformat.
#? 5
pleaseselectacountry.1)afghanistan18)israel35)palestine2)armenia19)japan36)philippines3)azerbaijan20)jordan37)qatar4)bahrain21)kazakhstan38)russia5)bangladesh22)korea(north)39)saudiarabia6)bhutan23)korea(south)40)singapore7)brunei24)kuwait41)srilanka8)cambodia25)kyrgyzstan42)syria9)china26)laos43)taiwan10)cyprus27)lebanon44)tajikistan11)easttimor28)macau45)thailand12)georgia29)malaysia46)turkmenistan13)hongkong30)mongolia47)unitedarabemirates14)india31)myanmar(burma)48)uzbekistan15)indonesia32)nepal49)vietnam16)iran33)oman50)yemen17)iraq34)pakistan
#? 9
pleaseselectoneofthefollowingtimezoneregions.1)beijingtime2)xinjiangtime
#? 1
thefollowinginformationhasbeengiven:chinabeijingtimethereforetz=\’asia/shanghai\’willbeused.localtimeisnow:sunjul1416:11:23cst2019.universaltimeisnow:sunjul1408:11:23utc2019.istheaboveinformationok?1)yes2)no
#? 1
youcanmakethischangepermanentforyourselfbyappendingthelinetz=\’asia/shanghai\’;exporttztothefile\’.profile\’inyourhomedirectory;thenlogoutandloginagain.hereisthattzvalueagain,thistimeonstandardoutputsothatyoucanusethe/usr/bin/tzselectcommandinshellscripts:asia/shanghai[root@localhostsrc]#datesunjul1404:11:44edt2019[root@localhostsrc]#rm-rf/etc/localtime[root@localhostetc]#ln-sf/usr/share/zoneinfo/asia/shanghai/etc/localtime[root@localhostetc]#datesunjul1416:13:17cst2019
看完上述內(nèi)容是否對(duì)您有幫助呢?如果還想對(duì)相關(guān)知識(shí)有進(jìn)一步的了解或閱讀更多相關(guān)文章,請(qǐng)關(guān)注小編行業(yè)資訊頻道,感謝您對(duì)小編的支持。
上一個(gè):RTT25120JTE現(xiàn)貨庫存,最新價(jià)格
下一個(gè):地下水監(jiān)測(cè)-第三方CMA檢測(cè)機(jī)構(gòu)

粉碎含糖量高的若干注意點(diǎn)
北京熱水管道防凍電伴熱帶
開展信息化讓現(xiàn)代恒溫恒濕測(cè)試儀企業(yè)更強(qiáng)
電子天平的日常保養(yǎng)之道
滴定管內(nèi)存在氣泡對(duì)檢測(cè)結(jié)果的影響
win7系統(tǒng)任務(wù)欄圖標(biāo)大小設(shè)置方法(win7系統(tǒng)任務(wù)欄圖標(biāo)大小設(shè)置方法圖片)
手機(jī)的彩信怎么打不開,手機(jī)發(fā)彩信怎么發(fā)
煮一壺禪茶慢熬歲月
YZC-328稱重傳感器50KG100KG不銹鋼YZC-328H
華為和德國(guó)杜伊斯堡市合作 打造西歐模范智慧城市
十八禁 网站在线观看免费视频_2020av天堂网_一 级 黄 色 片免费网站_绝顶高潮合集Videos