Hello Christo,
Tuesday, December 04, 2001, Christo Rademeyer <[EMAIL PROTECTED]> wrote:
CR> Thanks
CR> got mine like this.
CR> open (TFH," @data = ;
CR> foreach $line(@data) {
CR> ($user,$pass,$uid,$gid,$info,$home,$type) = split /:/, $line;
CR> }
CR> $a = ($uid + 1);
CR> bit shitty i
>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 04, 2001 3:44 PM
Subject: Re: UID's
> Hello Christo,
>
> Tuesday, December 04, 2001, Christo Rademeyer <[EMAIL PROTECTED]> wrote:
>
> CR> Hi how can I do this in perl ? srdof the same thing?
> CR> tail
Hello Christo,
Tuesday, December 04, 2001, Christo Rademeyer <[EMAIL PROTECTED]> wrote:
CR> Hi how can I do this in perl ? srdof the same thing?
CR> tail -n5 /etc/passwd | cut -d: -f3
CR> <-
= ->>
CR> 23
CR> 77
CR> 100
CR> 501
CR> 501
for example, you can write
my @uids=`tail -n5 /etc/passwd |
Hi how can I do this in perl ? srdof the same thing?
tail -n5 /etc/passwd | cut -d: -f3
<-
= ->
23
77
100
501
501
Thanx
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]