Skip to content

Instantly share code, notes, and snippets.

@QuiteZeal
Last active April 24, 2020 08:16
Show Gist options
  • Save QuiteZeal/503b7e2b8ae934b99b74a54dc623ade4 to your computer and use it in GitHub Desktop.
Save QuiteZeal/503b7e2b8ae934b99b74a54dc623ade4 to your computer and use it in GitHub Desktop.
Change Linux Timezone

Change Linux Timezone

Use date -R to display system time

Sometime the linux will use 0 timezone, so we need to change.

Type this:

$ timedatectl list-timezones

you can find which your zone, and copy it, then type(such as):

$ sudo timedatectl set-timezone America/New_York

Use date -R again to display system time now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment