checkgid group_name ...
Checks for the existence of the specified groups. If all groups exist, the return value is 0 and nothing is printed. If any groups do not exist, the return value is 255 and the following is printed to standard error for each nonexistent group_name :
checkgid: group ' group_name ' not found
checkgid should be run with superuser privileges.
This tool is part of the Apache distribution.
Takes a list of group names as arguments. It should also be able to take numeric group IDs as # groupID , but checkgid always returns successful for arguments of that form.