ubase/id.1

22 lines
588 B
Groff
Raw Normal View History

2014-04-12 08:38:43 -04:00
.TH ID 1 ubase-VERSION
2014-02-27 09:27:28 -05:00
.SH NAME
\fBid\fR - Print real and effective user and group IDs
2014-02-27 09:27:28 -05:00
.SH SYNOPSIS
2014-06-11 10:42:33 -04:00
\fBid\fR [\fB-g\fR] [\fB-u\fR] [\fB-G\fR] \fR[\fIuser\fR|\fIuid\fR]
2014-02-27 09:27:28 -05:00
.SH DESCRIPTION
2014-04-12 08:38:43 -04:00
\fBid\fR 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
.TP
2014-06-11 10:42:33 -04:00
\fB-g\fR
Print only the effective group ID.
.TP
\fB-u\fR
Print only the effective user ID.
.TP
2014-04-13 11:40:40 -04:00
\fB-G\fR
Display group information as whitespace separated numbers, in no particular order.
2014-02-27 09:27:28 -05:00
.SH SEE ALSO
2014-04-12 08:38:43 -04:00
who(1)