06-03-2003
Re: unix knowledge
Quote:
Originally posted by dtooth71
I am a new Unix user looking for ways, other than time, to become an effective unix administrator. All sugestions welcome.
Thanks
Sorry. Time in the main ingredient. Time and effort.
9 More Discussions You Might Find Interesting
1. IP Networking
HI folks. I am developing a protocol and I need to bind to an IP address that is not configured to my machine. The problem is with bind(). The sysctl system call seamed to overcome the problem of bind if you set the proc/sys/net/ipv4/ip_nonlocal_bind flag. Although I tryed to set the flag either... (7 Replies)
Discussion started by: developer
7 Replies
2. UNIX for Dummies Questions & Answers
Hai, friends.
In one exam which i have to attend in the month of january, they asked "knowledge of c and unix are required" .
I am beginner to unix, even i dont know from where to start .
Please suggest me what to do , to get through the exam and interview.
I have already downloaded... (2 Replies)
Discussion started by: nani_ynm
2 Replies
3. AIX
Dear All
Kindly provide me with a difference between hdiskpower and hdisk
regards (2 Replies)
Discussion started by: magasem
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am a java professional working with a MNC as a Senior Software Engineer.I have done my masters in computer scinece. I always had liking for UNIX . I had UNIX as one of the subject for my masters but could not pursue it as needed a job at that time . But now I would like to parsue my... (1 Reply)
Discussion started by: amigia
1 Replies
5. UNIX for Dummies Questions & Answers
I'm looking to buy some books to help me learn more about Unix and shell scripting?
I have been looking at books i.e. Classic Shell Scripting,Unix power tools
Just don't know which is the best outthere for me i know the basics but don't want to buy books that will be no good
I currently am... (4 Replies)
Discussion started by: Pablo_beezo
4 Replies
6. Shell Programming and Scripting
Can somebody explain me the following part within a awk command:
awk '{for(i=1;i<=NF;i++) if ($i=="mm")c++}
Can somebody please explain me the part (i=1;i<=NF;i++) ????:D:D:D:D (1 Reply)
Discussion started by: RubinPat
1 Replies
7. Linux
Blitz PHP
I am having trouble installing Blitz PHP blitz-0.6.10.tar.gz
Here is what i did:
cd /tmp
wget blitz-0.6.10.tar.gz
tar zxfv blitz-0.6.10.tar.gz
cd blitz-0.6.10
And then I tried
./configure
Output: -bash: No such file in directory
make
Output: No targets in the... (1 Reply)
Discussion started by: kendel
1 Replies
8. Shell Programming and Scripting
Hi Friends,
I know very well the basic commands of Unix but i want to concentrate on unix shell programming can you please how to learn and suggest me how to become comfortable level.
Thanks in advance (1 Reply)
Discussion started by: victory
1 Replies
9. UNIX for Dummies Questions & Answers
So I have a Networking class at my university that involves learning the basic commands of unix (i.e. Chmod, cat, cp, ls, mv, rm, mkdir, rmdir, pwd, etc) and my professor had us download and install Solaris and PuTTY as a means of...I suppose practicing using/executing commands. However due to... (7 Replies)
Discussion started by: bo74
7 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)