Skip to content

Instantly share code, notes, and snippets.

@mike0004
Created September 18, 2014 11:57
Show Gist options
  • Save mike0004/2ac1d6e05d8e20b8549b to your computer and use it in GitHub Desktop.
Save mike0004/2ac1d6e05d8e20b8549b to your computer and use it in GitHub Desktop.

Revisions

  1. Mike L created this gist Sep 18, 2014.
    4 changes: 4 additions & 0 deletions update_tz_to_NY.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    #!/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