
Niranjan S. answered 04/01/19
Experienced Tutor Specializing in Python
Niranjan S. answered 04/01/19
Experienced Tutor Specializing in Python
Most Unix and Linus distributions provide a command called "groups".
With no parameters, it simply returns the name of the groups assigned to the current user. Optionally you can specify a user name as the first and only parameter to the groups command, which will show all groups assigned to that user.
For example, the following displays all groups assigned to you
The following displays all groups assigned to the sys user:
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.