The
groupinfo utility retrieves the group information from the system. The
groupinfo utility is only available if built with
EXTENSIONS. See
group(8) for more information.
The following command line options are recognised:
-e
Return 0 if the group exists, and non-zero if the group does not exist, on the system. No information is displayed. This form of the command is useful for scripts which need to check whether a particular group name or gid is already in use on the system.
-v
Perform any actions in a verbose manner.
The
group argument may either be a group's name, or a gid.