![]() 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. 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
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |