The Linux Newbie Guide  ⇒    Fundamentals     Advanced     Supplement   Command Index   ENG⇒中
All rights reserved, please indicate the source when citing
  

groups : List Groups



This is a command related to account and group management. The command groups [USERNAME] will list the groups associated with an account.

Here are commonly used options for the groups command:

Example:
groups ←Lists the groups for the logged-in user
john quality training
$ groups alice ← Lists the groups for the "alice" account
alice qulity

For more information about the groups command, refer to the provided link.