Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    #<UnusedGrp.pl> Find unused Groups in /etc/group
    
    ...
         }
       }
    }
    
  2. or download this
    #!/usr/bin/perl -w
    #<UnusedGrp.pl> Find unused Groups in /etc/group
    use strict;
    ...
    
       print "$GRP[0] has no users and no GID references\n"
    }
    
  3. or download this
    #!/usr/bin/perl -w
    #<UnusedGrp.pl> Find unused Groups in /etc/group
    use strict;
    ...
        next if $gids{$fields[2]};
        print "$fields[0] has no users and no GID references\n"
    }