mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
Base: Add manpage for groups(1)
This commit is contained in:
parent
580b335053
commit
8978325af8
1 changed files with 31 additions and 0 deletions
31
Base/usr/share/man/man1/groups.md
Normal file
31
Base/usr/share/man/man1/groups.md
Normal file
|
@ -0,0 +1,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
|
||||
```
|
||||
|
Loading…
Add table
Reference in a new issue