Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    open PASSWD, '/etc/passwd';
    ...
    foreach $i (@newarray) {
     system ("find '/home/u1' -user $i -print > $i");
    }
    
  2. or download this
    my ($user,$uid) = (split(/:/))[0,2];