09-09-2001
Downloading vs buying latest version of os
I am currently taking a Unix programming class in school, I want ot know which is more efficient and quicker, downloading the os or buying the os
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to buy it (2 Replies)
Discussion started by: LANSTARR.COM
2 Replies
2. Shell Programming and Scripting
:o How do I confirm that the script on one server is latest compare to other servers? Is there any script which can tell me the latest version of a file across the servers?
Thanks, (2 Replies)
Discussion started by: Sandy
2 Replies
3. Shell Programming and Scripting
Hi,
I have some version number's present in a text file like
version.txt contains
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
(may be more that this) can we write any specific shell command to find it out the latest version (For this it is 1.0.4 ) ? I am a new user of shell command and cud... (6 Replies)
Discussion started by: bhaskar_m
6 Replies
4. Shell Programming and Scripting
Have checked the forums and couldnt locate help on this.
I want to grep a log file for a pattern using a script - I need to grep the latest log file and not sure how I am able to ensure I am greping the latest log file.
Here is sample of log files for yestersday and I effectively need to grep... (10 Replies)
Discussion started by: frustrated1
10 Replies
5. BSD
Any body there ? What is latest BSD version ? (4 Replies)
Discussion started by: chilaka
4 Replies
6. AIX
Dears i have a power7 P770 working in AIX 5.3 TL 11 with frimware AM730_066
is the AM730_066 frimware the latest one or not ? (6 Replies)
Discussion started by: thecobra151
6 Replies
7. Shell Programming and Scripting
I am trying to look into multiple directories and pluck out the latest version of a specific file, regardless of where it sits within the directory structure.
Ex:
The file is a .xls file and could have a depth within the directory of anywhere from 1-5
Working directory - Folder1... (6 Replies)
Discussion started by: co21ss
6 Replies
8. Shell Programming and Scripting
Hi,
I have a file where versions will be updated, i need to get latest/last updated version from that file. Could you please help?
File looks like below -
<versions>
<version>R20180417.006</version>
<version>R20180421.007</version>
<version>R20180421.008</version>
... (5 Replies)
Discussion started by: schandra128
5 Replies
9. UNIX for Beginners Questions & Answers
I would like to acquire a very old version of gcc: 4.4.3 and set it up in such a way that I can use the update-alternatives command to switch between my current version and the older version. I believe I may have found a website where I can download 4.4.3 from. However, I am not sure what all I... (6 Replies)
Discussion started by: Circuits
6 Replies
10. Solaris
Hi
During a host review session I was told to check if the engineers have been updating Solaris 11 OS regularly by verifying the SRU version of the system.
However i was having no luck in finding the latest SRU version number in oracle website for hours. I wonder did anyone here know where i... (4 Replies)
Discussion started by: kaze
4 Replies
LEARN ABOUT CENTOS
datetime::timezone::local
DateTime::TimeZone::Local(3) User Contributed Perl Documentation DateTime::TimeZone::Local(3)
NAME
DateTime::TimeZone::Local - Determine the local system's time zone
VERSION
version 1.63
SYNOPSIS
my $tz = DateTime::TimeZone->new( name => 'local' );
my $tz = DateTime::TimeZone::Local->TimeZone();
DESCRIPTION
This module provides an interface for determining the local system's time zone. Most of the functionality for doing this is in OS-specific
subclasses.
USAGE
This class provides the following methods:
DateTime::TimeZone::Local->TimeZone()
This attempts to load an appropriate subclass and asks it to find the local time zone. This method is called by when you pass "local" as
the time zone name to "DateTime:TimeZone->new()".
If your OS is not explicitly handled, you can create a module with a name of the form "DateTime::TimeZone::Local::$^O". If it exists, it
will be used instead of falling back to the Unix subclass.
If no OS-specific module exists, we fall back to using the Unix subclass.
See DateTime::TimeZone::Local::Unix, DateTime::TimeZone::Local::Win32, and DateTime::TimeZone::Local::VMS for OS-specific details.
SUBCLASSING
If you want to make a new OS-specific subclass, there are several methods provided by this module you should know about.
$class->Methods()
This method should be provided by your class. It should provide a list of methods that will be called to try to determine the local time
zone.
Each of these methods is expected to return a new "DateTime::TimeZone" object if it determines the time zone.
$class->FromEnv()
This method tries to find a valid time zone in an %ENV value. It calls "$class->EnvVars()" to determine which keys to look at.
To use this from a subclass, simply return "FromEnv" as one of the items from "$class->Methods()".
$class->EnvVars()
This method should be provided by your subclass. It should return a list of env vars to be checked by "$class->FromEnv()".
$class->_IsValidName($name)
Given a possible time zone name, this returns a boolean indicating whether or not the name looks valid. It always return false for "local"
in order to avoid infinite loops.
EXAMPLE SUBCLASS
Here is a simple example subclass:
package DateTime::TimeZone::SomeOS;
use strict;
use warnings;
use base 'DateTime::TimeZone::Local';
sub Methods { qw( FromEnv FromEther ) }
sub EnvVars { qw( TZ ZONE ) }
sub FromEther
{
my $class = shift;
...
}
AUTHOR
Dave Rolsky <autarch@urth.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Dave Rolsky.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.16.3 2013-10-28 DateTime::TimeZone::Local(3)