Skip to content

Welcome to Tech by Example

Menu
  • Home
  • Posts
  • System Design Questions
Menu

Check all groups that current logged in user belong to on Linux

Posted on December 10, 2023December 10, 2023 by admin

groups command on linux can be used to know which all groups a user belongs to

Just type in groups on the terminal. Below is the output on my Mac machine

staff everyone localaccounts _appserverusr admin

Note: Check out our system design tutorial series System Design Questions

©2025 Welcome to Tech by Example | Design: Newspaperly WordPress Theme