.TH id "" "" Command
.PC "Print user and group IDs and names"
.B id
.PP
The command
.B id
prints the user's real user ID and group ID.
It also prints the effective IDs if they differ from the real IDs.
.SH "See Also"
.Xr "commands," commands
.Xr "getuid()," getuid
.Xr "geteuid()," geteuid
.Xr "getgid()," getgid
.Xr "getegid()" getegid
