1
0
mirror of git://git.suckless.org/ubase synced 2024-12-18 12:44:57 +00:00
ubase/id.1
2014-06-11 15:47:23 +01:00

22 lines
588 B
Groff

.TH ID 1 ubase-VERSION
.SH NAME
\fBid\fR - Print real and effective user and group IDs
.SH SYNOPSIS
\fBid\fR [\fB-g\fR] [\fB-u\fR] [\fB-G\fR] \fR[\fIuser\fR|\fIuid\fR]
.SH DESCRIPTION
\fBid\fR prints user and group information of the calling process to standard output.
If a login name or uid is specified, the user and group information of that
user is displayed.
.SH OPTIONS
.TP
\fB-g\fR
Print only the effective group ID.
.TP
\fB-u\fR
Print only the effective user ID.
.TP
\fB-G\fR
Display group information as whitespace separated numbers, in no particular order.
.SH SEE ALSO
who(1)