summaryrefslogtreecommitdiff
path: root/Base/usr/share/man/man1/groups.md
blob: b285f15a1127f8614d0f5a7bf343e0b0cb2a22f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
## Name

groups - list group memberships

## Synopsis

```**sh
$ groups [username...]
```

## Description

`groups` lists group memberships.

If no username is provided group memberships are listed for current user.

## Arguments

* `username`: username to list group memberships for

## Examples

```sh
# List group memberships for current user
$ groups
# List group memberships for one user
$ groups nona
# List group memberships for multiple users
$ groups nona anon root
```