Find out which groups on Linux

Every user is a member of one or more groups. To find out which groups you belong to use the command:

    groups

To find out which groups another user belongs to use the command:

    groups username

Comments