Created
September 18, 2014 11:57
-
-
Save mike0004/2ac1d6e05d8e20b8549b to your computer and use it in GitHub Desktop.
Change CentOS timezone New_York
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -uxe | |
# creds to https://chrisjean.com/2009/03/03/change-timezone-in-centos | |
sudo mv /etc/localtime /etc/localtime.bak | |
sudo ln -s /usr/share/zoneinfo/America/New_York /etc/localtime |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment