To display the group(s) a user belongs to, use this command:

To display the group(s) a user belongs to, use this command:Category: Linux EssentialsAuthor "LinuxQuestions"To display the group(s) a user belongs to, use this command:
Linux Questions Staff asked 1 year ago

To display the group(s) a user belongs to, use this command:

  • whoami
  • group
  • all
  • grep
  • id

About the author