How To View All Groups In Linux?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To view all the groups in Linux, open a terminal window and enter the command “groups”. This will output a list of all the groups that the current user is associated with. Alternatively, you can use the command “cat /etc/group” to view all the groups in the system.