LOCALTIME(5) localtime LOCALTIME(5)
localtime - Local timezone configuration file
/etc/localtime -> ../usr/share/zoneinfo/...
The /etc/localtime file configures the system-wide timezone of the local system that is used by applications for presentation to the user. It should be an absolute or relative symbolic link pointing to /usr/share/zoneinfo/, followed by a timezone identifier such as "Europe/Berlin" or "Etc/UTC". The resulting link should lead to the corresponding binary tzfile(5) timezone data for the configured timezone. Because the timezone identifier is extracted from the symlink target name of /etc/localtime, this file may not be a normal file or hardlink. If /etc/localtime is missing, the default "UTC" timezone is used. The timezone may be overridden for individual programs by using the $TZ environment variable. See environ(7). You may use timedatectl(1) to change the settings of this file from the command line during runtime. Use systemd-firstboot(1) to initialize the time zone on mounted (but not booted) system images.
systemd(1), tzset(3), localtime(3), timedatectl(1), systemd-timedated.service(8), systemd-firstboot(1)
This page is part of the systemd (systemd system and service manager) project. Information about the project can be found at ⟨http://www.freedesktop.org/wiki/Software/systemd⟩. If you have a bug report for this manual page, see ⟨http://www.freedesktop.org/wiki/Software/systemd/#bugreports⟩. This page was obtained from the project's upstream Git repository ⟨https://github.com/systemd/systemd.git⟩ on 2021-04-01. (At that time, the date of the most recent commit that was found in the repository was 2021-04-01.) If you discover any rendering problems in this HTML version of the page, or you believe there is a better or more up-to-date source for the page, or you have corrections or improvements to the information in this COLOPHON (which is not part of the original manual page), send a mail to email@example.com systemd 248 LOCALTIME(5)
Pages that refer to this page: systemd-firstboot(1), timedatectl(1), systemd.directives(7), systemd.index(7), systemd-timedated.service(8), systemd-timesyncd.service(8)