groups
UsersBeginner In simulator In real LinuxShow the groups a user is in
Name: groups
You can practise it right away in the simulator, and use it in real Linux mode too.
Description
groups lists the groups a user belongs to. Newly added groups appear in your session only after you log in again.
Syntax
groups [USER]...Common options
| USER | Show another user’s groups |