ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
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.
I never understood why that is. I live in an unnamed time zone where it is 4 hours earlier than GMT. Still I have to enter GMT+4 as my time zone.
This is indeed puzzling. I tried a similar experiment. I'm in California, whose time is (at this time of year) eight hours earlier than UTC. But:
wally:~$ echo $TZ
Fri Mar 6 14:58:20 PST 2009
wally:~$ export TZ=GMT+8
Fri Mar 6 14:58:33 GMT 2009
wally:~$ export TZ=GMT-8
Sat Mar 7 06:58:40 GMT 2009
wally:~$ export TZ=GMT+10
Fri Mar 6 12:58:49 GMT 2009
wally:~$ export TZ=GMT-10
Sat Mar 7 08:58:55 GMT 2009
wally:~$ export TZ=UTC
Fri Mar 6 22:59:07 UTC 2009
So, hattori.hanzo, you think that just because you're in Australia, you're at GMT+10? I would have thought so, too, but our computer overlords know different! Look at the above output, look at the final few lines, and you'll see you're really at GMT-10!
I had been using your perl code in my script since my last post in this thread. :-) Just researching on how to speed things up. The time conversion process from local time to UTC is taking too long for the amount of lines I am processing.