id.1 (656B)
1 .Dd April 24, 2015 2 .Dt ID 1 3 .Os ubase 4 .Sh NAME 5 .Nm id 6 .Nd print real and effective user and group IDs 7 .Sh SYNOPSIS 8 .Nm 9 .Op Fl n 10 .Op Fl g | u | G 11 .Op Ar user | uid 12 .Sh DESCRIPTION 13 .Nm 14 prints user and group information of the calling process to standard output. 15 If a login name or uid is specified, the user and group information of that 16 user is displayed. 17 .Sh OPTIONS 18 .Bl -tag -width Ds 19 .It Fl n 20 Print names instead of ID numbers, for -g, -u, and -G. 21 .It Fl g 22 Print only the effective group ID. 23 .It Fl u 24 Print only the effective user ID. 25 .It Fl G 26 Display group information as whitespace separated numbers, in no particular order. 27 .El 28 .Sh SEE ALSO 29 .Xr who 1