ntpdate ntp.nict.jp
more /usr/share/zoneinfo/Asia/Tokyo
strings /etc/localtime
date
strings - ファイル中の表示可能な文字列を表示する
-------------------------------------referring pages
http://qiita.com/azusanakano/items/b39bd22504313884a7c3
-------------------------------------
[root@ale ~]# ntpdate ntp.nict.jp
30 Mar 06:22:31 ntpdate[24908]: adjust time server 133.243.238.244 offset 0.001409 sec
[root@ale ~]# date
Mon Mar 30 06:22:34 UTC 2015
[root@ale ~]# strings /etc/localtime
TZif2
TZif2
UTC0
[root@ale ~]# more /usr/share/zoneinfo/Asia/Tokyo
ヒロロォレ€ワ ン蕎€(65%)
JST-9
[root@ale ~]# cp /etc/localtime /etc/localtime.org
cp: overwrite `/etc/localtime'? yes
[root@ale ~]# strings /etc/localtime
TZif2
TZif2
JST-9
[root@ale ~]# date
Mon Mar 30 15:26:27 JST 2015
[root@ale ~]#
Comments
Post a Comment