ubase/id.1

22 lines
588 B
Groff
Raw Normal View History

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