Frequent Question: How Do I Find the Group Name in Linux?
Contents How Do I See What Groups I Created in Linux? to View All Groups Present on the System Simply Open the /Etc/Group File. Each Line in This File...
Contents
How do I see what groups I created in Linux?
To view all groups present on the system simply open the /etc/group file. Each line in this file represents information for one group. Another option is to use the getent command which displays entries from databases configured in /etc/nsswitch.
Must Read
Where is the group file in Linux?
The group membership in Linux is controlled through the /etc/group file. This is a simple text file that contains a list of groups and the members belonging to each group. Just like the /etc/passwd file, the /etc/group file consists of a series of colon-delimited lines, each of which defines a single group.