我是靠谱客的博主 大气河马,最近开发中收集的这篇文章主要介绍Linux下设置时区方法,实现开机自动设置时区,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

平台: RK3399 

系统:  ubuntu 18.04 64位 --ARM版本

 

使用tzselect 命令设置时区。

步骤示例:

pi@NanoPC-T4:~$ tzselect 
Please identify a location so that time zone rules can be set correctly.
Please select a continent, ocean, "coord", or "TZ".
 1) Africa
 2) Americas
 3) Antarctica
 4) Asia
 5) Atlantic Ocean
 6) Australia
 7) Europe
 8) Indian Ocean
 9) Pacific Ocean
10) coord - I want to use geographical coordinates.
11) TZ - I want to specify the time zone using the Posix TZ format.
#? 4
Please select a country whose clocks agree with yours.
 1) Afghanistan		  18) Israel		    35) Palestine
 2) Armenia		  19) Japan		    36) Philippines
 3) Azerbaijan		  20) Jordan		    37) Qatar
 4) Bahrain		  21) Kazakhstan	    38) Russia
 5) Bangladesh		  22) Ko

最后

以上就是大气河马为你收集整理的Linux下设置时区方法,实现开机自动设置时区的全部内容,希望文章能够帮你解决Linux下设置时区方法,实现开机自动设置时区所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(68)

评论列表共有 0 条评论

立即
投稿
返回
顶部