How To Check The 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.
You can use the command line tool “groups” to check the groups in Linux. The command will list all the groups a user is associated with. For example, to check the groups for the current user:
$ groups
The output will be a list of groups associated with the user.