Skip to content

Instantly share code, notes, and snippets.

@guitarrapc
Last active June 19, 2017 18:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guitarrapc/2aa05cb05a9f57a4d79b0c77b9df74e7 to your computer and use it in GitHub Desktop.
Save guitarrapc/2aa05cb05a9f57a4d79b0c77b9df74e7 to your computer and use it in GitHub Desktop.
~$ 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