.TH ID 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME id \(em return user identity .SH SYNOPSYS \fBid\fR [-G|-g|-u] [-nr] [\fIuser\fR...] .SH DESCRIPTION Print user and group information for the specified \fIuser\fR, or the current user if no \fIuser\fR is specified. .SH OPTIONS The following options are supported: .TP .B -G Output all group IDs. .TP .B -g Output only the effective group ID. .TP .B -n Output the names of groups and users instead of their IDs. .TP .B -r Output the real ID instead of the effective ID. .TP .B -u Output only the effective user ID. .TP .B --help Display help information. .TP .B --version Display version information. .SH OPERANDS The following operand is supported: .TP .I user A username to show ID information for. .SH EXIT STATUS The following exit values will be returned: .TP \ 0 Successful completion. .TP >0 An error occurred. .SH STANDARDS The \fIid\fR utility is compliant with the IEEE Std 1003.2-1992 ("POSIX.2") specification. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling MIT Licence (https://opensource.org/licenses/MIT) .fi