.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
.TH ID "1" "October 2021" "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:
.br
Report any translation bugs to
.SH COPYRIGHT
Copyright \(co 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later .
.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
.br
or available locally via: info \(aq(coreutils) id invocation\(aq