linux groups command tutorial: groups syntax and groups examples
December 21, 2019
In Linux, a group is a collection of users. The main purpose of a group is to manage users and grant relevant permissions, such as read, write, and execute permissions. Users within a group share group permissions.
This article will share how to use the linux groups command and its examples.
linux groups command – print the groups a user is in.
Print group memberships for each USERNAME or, if no USERNAME is specified, for the current process.
View the groups to which the currently logged in user belongs