How do you see what groups a user is in Linux?

Thanh Hoan

New member
How do you see what groups a user is in Linux?
Answer
List Groups on Linux using the /etc/group file. In order to list groups on Linux, you have to execute the “cat” command on the “/etc/group” file. When executing this command, you will be presented with the list of groups available on your system. Use one of the following commands to list groups on your system.
 

Tìm kiếm

Back
Top