Skip to content

Instantly share code, notes, and snippets.

@chusiang
Created March 25, 2015 03:36
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 chusiang/05d63d74cd6e7fab99ec to your computer and use it in GitHub Desktop.
Save chusiang/05d63d74cd6e7fab99ec to your computer and use it in GitHub Desktop.
Change Timezone to Taipei, Asia on CentOS.
#!/bin/bash
# ============================================================
# Author: 凍仁翔 / chusiang.lai (at) gmail.com
# Blog: http://note.drx.tw
# Filename: change-timezone-centos.sh
# Modified: 2015-03-25 11:31
# Description: Change Timezone to Taipei, Asia on CentOS.
# Reference:
#
# 1. Change Timezone in CentOS | Chris Jean
# - https://chrisjean.com/change-timezone-in-centos/
#
# ===========================================================
sudo mv /etc/localtime /etc/localtime.ori
sudo ln -s /usr/share/zoneinfo/Asia/Taipei /etc/localtime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment