Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
~$ cat /etc/localtime
> TZif2    ~ DST STD TZif2    ~ DST STD
STD-9
~$ ls /usr/share/zoneinfo
> Africa Brazil EST GB HST Japan Msft Poland UCT iso3166.tab
America CET EST5EDT GB-Eire Hongkong Kwajalein NZ Portugal US leap-seconds.list
Antarctica CST6CDT Egypt GMT Iceland Libya NZ-CHAT ROC UTC localtime
Arctic Canada Eire GMT+0 Indian MET Navajo ROK Universal posix
Asia Chile Etc GMT-0 Iran MST PRC Singapore W-SU posixrules
Atlantic Cuba Europe GMT0 Israel MST7MDT PST8PDT SystemV WET right
Australia EET Factory Greenwich Jamaica Mexico Pacific Turkey Zulu zone.tab
~$ timedatectl
> Failed to get D-Bus connection: Failed to connect to socket /var/run/dbus/system_bus_socket
~$ cat /usr/share/zoneinfo/Japan
U;p>۫ڀ݋ ~  ~ JCST JDT JST TZif2    e¤ptpU;p>۫ڀ ~ LMT JST JCST JDT  
JST-9
~$ ls -l /etc/localtime
-rw-r--r-- 2 root root 127 6月 20 02:41 /etc/localtime
~$ sudo ln -sf /usr/share/zoneinfo/Japan /etc/localtime
# SUDO Password lost.... sorry not tried.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.