That's a bit vague... please see How do I post a question effectively? and perhaps you could explain a bit more about what you're trying to do and what you have tried so far.
Anyway, if you really just want a count of the existing UNIX groups, see getgrent (note: apparently the online doc for this version isn't showing up, but try the command perldoc -f getgrent), here's one quick way:
my $count = 0; $count++ while defined getgrent; print "$count\n";
In reply to Re: count of USER UNIX groups
by Anonymous Monk
in thread count of USER UNIX groups
by Apronline
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |