02-23-2009
Well in my 26 years of unix, one thing that remains the same... is change. I do not ever see a single distribution doing it all, never has and never will.
8 More Discussions You Might Find Interesting
1. Red Hat
I want to install Red Hat Linux Desktop version 4. Please tell me the step-by-step installation and which file system will be best for this O/S?
Like in windows, we have NTFS file system(which has very security features).
Is there any such file system in Linux?
Which file system should i use? (2 Replies)
Discussion started by: Anna Hussie
2 Replies
2. Red Hat
I want to install Red Hat Linux Desktop version 4. Please tell me the step-by-step installation and which file system will be best for this O/S?
Like in windows, we have NTFS file system(which has very security features).
Is there any such file system in Linux?
Which file system should i use?... (0 Replies)
Discussion started by: Anna Hussie
0 Replies
3. Red Hat
I use red hat linux es 5
I use startx to start the x-win desktop.
But when I use vritual manager .
The display application is too large so the bottom
part for the application cannot show out.
I cannot scroll down to get the display of bottm part .
So, I do not know what button display at the... (0 Replies)
Discussion started by: chuikingman
0 Replies
4. Red Hat
Is there any way to install Red Hat Linux any version without purchasing?
If yes, Please help me.
I know Fedora is alternative way of Free Linux.
But I am more interested to install Red Hat Linux for Personal Use.
If anyone really knows about this... Please Please Please help.
... (1 Reply)
Discussion started by: sagarsbhandare
1 Replies
5. UNIX for Dummies Questions & Answers
how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ? (2 Replies)
Discussion started by: ahmedamer12
2 Replies
6. Shell Programming and Scripting
I have a requirement to copy the changed file on CIFS share mounted on Red Hat Linux to a remote FTP/SFTP server.
I tried inotify-tools, but this didn't track the modified files.
Has anyone tried incron or any other suggestion? (1 Reply)
Discussion started by: SupeAlok
1 Replies
7. Red Hat
I am not too familiar with linux, so please keep that in mind while reading this post. We have a few linux servers joined to the domain, and linux services for windows running. I have a user that can connect to one linux server, but not another.
I ran the cat /etc/passwrd and noticed the user... (0 Replies)
Discussion started by: dcatcha
0 Replies
8. Red Hat
Hi All,
The scripts developed in AIX can be executed in Red Hat Linux too? Because, we are migrating OS from AIX to LINUX.
Will there be any differences in commands?
Thanks in advance!!!
Regards,
U (2 Replies)
Discussion started by: unme
2 Replies
LEARN ABOUT SUSE
time::seconds
Time::Seconds(3pm) Perl Programmers Reference Guide Time::Seconds(3pm)
NAME
Time::Seconds - a simple API to convert seconds to other date values
SYNOPSIS
use Time::Piece;
use Time::Seconds;
my $t = localtime;
$t += ONE_DAY;
my $t2 = localtime;
my $s = $t - $t2;
print "Difference is: ", $s->days, "
";
DESCRIPTION
This module is part of the Time::Piece distribution. It allows the user to find out the number of minutes, hours, days, weeks or years in a
given number of seconds. It is returned by Time::Piece when you delta two Time::Piece objects.
Time::Seconds also exports the following constants:
ONE_DAY
ONE_WEEK
ONE_HOUR
ONE_MINUTE
ONE_MONTH
ONE_YEAR
ONE_FINANCIAL_MONTH
LEAP_YEAR
NON_LEAP_YEAR
Since perl does not (yet?) support constant objects, these constants are in seconds only, so you cannot, for example, do this: "print
ONE_WEEK->minutes;"
METHODS
The following methods are available:
my $val = Time::Seconds->new(SECONDS)
$val->seconds;
$val->minutes;
$val->hours;
$val->days;
$val->weeks;
$val->months;
$val->financial_months; # 30 days
$val->years;
The methods make the assumption that there are 24 hours in a day, 7 days in a week, 365.24225 days in a year and 12 months in a year.
(from The Calendar FAQ at http://www.tondering.dk/claus/calendar.html)
AUTHOR
Matt Sergeant, matt@sergeant.org
Tobias Brox, tobiasb@tobiasb.funcom.com
BalieXXzs SzabieXX (dLux), dlux@kapu.hu
LICENSE
Please see Time::Piece for the license.
Bugs
Currently the methods aren't as efficient as they could be, for reasons of clarity. This is probably a bad idea.
perl v5.12.1 2010-04-26 Time::Seconds(3pm)