ubase/id.1

29 lines
595 B
Groff
Raw Normal View History

.Dd February 2, 2015
.Dt ID 1
.Os ubase
.Sh NAME
.Nm id
.Nd print real and effective user and group IDs
.Sh SYNOPSIS
.Nm
.Op Fl g
.Op Fl u
.Op Fl G
.Op Ar user | uid
.Sh DESCRIPTION
.Nm
prints user and group information of the calling process to standard output.
2014-02-27 09:27:28 -05:00
If a login name or uid is specified, the user and group information of that
user is displayed.
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl g
2014-06-11 10:42:33 -04:00
Print only the effective group ID.
.It Fl u
2014-06-11 10:42:33 -04:00
Print only the effective user ID.
.It Fl G
2014-04-13 11:40:40 -04:00
Display group information as whitespace separated numbers, in no particular order.
.El
.Sh SEE ALSO
.Xr who 1