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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
.TH ID "1" "January 2024" "GNU coreutils 8.32" "User Commands"
.SH NAME
id \- print real and effective user and group IDs
.SH SYNOPSIS
.B id
[\fI\,OPTION\/\fR]... [\fI\,USER\/\fR]...
.SH DESCRIPTION
.\" Add any additional description here
.PP
Print user and group information for each specified USER,
or (when USER omitted) for the current user.
.TP
\fB\-a\fR
ignore, for compatibility with other versions
.TP
\fB\-Z\fR, \fB\-\-context\fR
print only the security context of the process
.TP
\fB\-g\fR, \fB\-\-group\fR
print only the effective group ID
.TP
\fB\-G\fR, \fB\-\-groups\fR
print all group IDs
.TP
\fB\-n\fR, \fB\-\-name\fR
print a name instead of a number, for \fB\-ugG\fR
.TP
\fB\-r\fR, \fB\-\-real\fR
print the real ID instead of the effective ID, with \fB\-ugG\fR
.TP
\fB\-u\fR, \fB\-\-user\fR
print only the effective user ID
.TP
\fB\-z\fR, \fB\-\-zero\fR
delimit entries with NUL characters, not whitespace;
.IP
not permitted in default format
.TP
\fB\-\-help\fR
display this help and exit
.TP
\fB\-\-version\fR
output version information and exit
.PP
Without any OPTION, print some useful set of identified information.
.SH AUTHOR
Written by Arnold Robbins and David MacKenzie.
.SH "REPORTING BUGS"
GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
.br
Report any translation bugs to <https://translationproject.org/team/>
.SH COPYRIGHT
Copyright \(co 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH "SEE ALSO"
Full documentation <https://www.gnu.org/software/coreutils/id>
.br
or available locally via: info \(aq(coreutils) id invocation\(aq
|