FedoraThis forum is for the discussion of the Fedora Project.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Some good threads provided by unSpawn. I'll try to explain a little on how the time is adjusted for DST. I researched this last year to adjust an old system I keep around.
Depending on how you set up your system the system clock will either be set to UTC or localtime. The only instance when that time actually changes will be if you are using ntp or you adjust it manually with the bios or hwclock command. The system clock does not change when DST kicks in or out.
The time shown or used by an individual user can be set with the TZ environment variable. For example someone in Tokyo can see their localtime when working on a machine in Cleveland. If this environment variable is not set it will default to the timezone indicated by the file /etc/localtime.
The individual zoneinfo files are located in /usr/share/zoneinfo. As unSpawn mentioned these are supplied by the tzdata package. It is common to set up a symlink with one of these files and /etc/localtime. I've also seen where the desired zoneinfo file is copied to /etc/localtime. These files have timezone rules and automatically make adjustments to the time shown to a user.
As long as you keep the zoneinfo files updated you will not have any problems with DST. It is also possible to create your own zoneinfo file. If for example someone has a unique situation and new information about their timezone had not been updated in the tzdata package they could build the necessary zoneinfo file using zic. You can see the rules for any zoneinfo file using the command zdump.