mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 13:17:34 +00:00
Base: Add more manpages for command-line utilities
This commit is contained in:
parent
5d8585df97
commit
57340dda36
25 changed files with 749 additions and 0 deletions
39
Base/usr/share/man/man1/id.md
Normal file
39
Base/usr/share/man/man1/id.md
Normal file
|
@ -0,0 +1,39 @@
|
|||
## Name
|
||||
|
||||
id - print user/group ID
|
||||
|
||||
## Synopsis
|
||||
|
||||
```**sh
|
||||
$ id [options...]
|
||||
```
|
||||
|
||||
## Description
|
||||
|
||||
`id` outputs user and group information for the current user.
|
||||
|
||||
## Options
|
||||
|
||||
* `-u`: Print only real UID.
|
||||
* `-g`: Print only real GID.
|
||||
* `-G`: Print only all GIDs.
|
||||
* `-n`: If `-u`, `-g` or `-G` is specified, print full names instead of IDs.
|
||||
|
||||
## Examples
|
||||
|
||||
```sh
|
||||
$ id
|
||||
uid=100(anon) gid=100(users) groups=1(wheel),10(lookup),12(notify),4(audio),13(window),14(clipboard),3(phys)
|
||||
$ id -u
|
||||
100
|
||||
$ id -g
|
||||
100
|
||||
$ id -un
|
||||
anon
|
||||
$ id -G
|
||||
1 10 12 4 13 14 3
|
||||
```
|
||||
|
||||
## See also
|
||||
|
||||
* [`whoami`(1)](whoami.md)
|
Loading…
Add table
Add a link
Reference in a new issue