locationple.blogg.se

How to change timezone linux centos
How to change timezone linux centos




how to change timezone linux centos how to change timezone linux centos

To list all available time zones, you can either list the files in the /usr/share/zoneinfo directory or use the timedatectl command. The timezone naming convention usually uses a “Region/City” format. usr/share/zoneinfo/Etc/UTCīefore changing the timezone, you’ll need to find out the long name for the timezone you want to use. So, another option to check the timezone is to show the path the symlink points to using the ls command ls -l /etc/localtime lrwxrwxrwx.

how to change timezone linux centos

The system timezone is configured by symlinking /etc/localtime to a binary timezone identifier in the /usr/share/zoneinfo directory. The output below shows that the system’s timezone is set to UTC: Local time: Wed 22:43:42 UTC






How to change timezone linux centos