新聞中心

EEPW首頁(yè) > 嵌入式系統(tǒng) > 設(shè)計(jì)應(yīng)用 > Linux系統(tǒng)下配置 時(shí)鐘基本 要領(lǐng)

Linux系統(tǒng)下配置 時(shí)鐘基本 要領(lǐng)

作者: 時(shí)間:2016-09-12 來(lái)源:網(wǎng)絡(luò) 收藏

1.顯示時(shí)鐘

本文引用地址:http://2s4d.com/article/201609/304434.htm

[root@****~]# clock --show

2008年05月06日 星期二 11時(shí)21分09秒 -0.223408 seconds

2.配置 時(shí)鐘(clock --set --date=“月/日/年 時(shí):分:秒)

[root@**** ~]# clock --set --date=05/06/2008 11:26:00

3.與硬件時(shí)鐘同步(默認(rèn)重啟系統(tǒng)就會(huì)與硬件時(shí)鐘同步)

[root@**** ~]# clock --systohc

4.與internet上的時(shí)間服務(wù)器同步

[root@****~]# rdate time.join.uni-muenster.de



關(guān)鍵詞:

評(píng)論


相關(guān)推薦

技術(shù)專區(qū)

關(guān)閉