Skip to content

Instantly share code, notes, and snippets.

@quietcricket
Created February 27, 2013 08:14
Show Gist options
  • Save quietcricket/5046171 to your computer and use it in GitHub Desktop.
Save quietcricket/5046171 to your computer and use it in GitHub Desktop.
Linux change timezone
# List what zones are there
# ls /usr/share/zoneinfo/Asia/
#if the localtime is already set, rename it to something else
# mv /etc/localtime /etc/_localtime
# create a symbol link for the localtime
ln -s /usr/share/zoneinfo/Asia/Singapore /etc/localtime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment