Password reset for unix

2011-05-01 Thread dolphin
Hi, To reset password in unix, the system will prompt 2 times for entering the new password. The first time is to enter the new password and the second time is to confirm the new password of the account. It is tedious to perform this when there is a huge volume (>100) of user accounts. Is it possi

Re: Newbie queries

2011-01-27 Thread dolphin
On Jan 25, 6:43 pm, orasn...@gmail.com ("Octavian Rasnita") wrote: > From: "dolphin" > > > > > > > > > > > Hi, > > > I'm learning perl now and would like to find out how to perform the > > following if given in a text fil

Newbie queries

2011-01-25 Thread dolphin
Hi, I'm learning perl now and would like to find out how to perform the following if given in a text file? ,12 ,437 ,124 ,45 ,789 ,67 CCC,567 DDD,5 How to sum up the 2nd column based on the 1st column with the following result: : BBB: CCC: DDD: Thanks in advance

Queries - Newbie

2010-01-13 Thread dolphin
Hi, I want to use perl and print time before and after sleep but not successful, can anyone advice? #!/usr/bin/perl my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)=localtime time; my $timenow="$hour$min$sec"; print "It is now $timenow\n"; sleep 15; my $timelater="$hour$min$sec"; print "