coreutils

General Software Utilities
git clone http://git.omkov.net/coreutils
Log | Tree | Refs | README | LICENCE | Download

coreutils/man/id.1 (53 lines, 1.1 KiB) -rw-r--r-- file download

e2140ec Jamozed 2022-03-06 15:27:45
0
.TH ID 1 2022-03-06 "OMKOV coreutils" "General Commands Manual"
8b4f999 Jamozed 2020-06-27 14:00:03
1
.SH NAME
8b4f999 Jamozed 2020-06-27 14:00:03
2
id \(em return user identity
8b4f999 Jamozed 2020-06-27 14:00:03
3
.SH SYNOPSYS
8b4f999 Jamozed 2020-06-27 14:00:03
4
\fBid\fR [-G|-g|-u] [-nr] [\fIuser\fR...]
8b4f999 Jamozed 2020-06-27 14:00:03
5
.SH DESCRIPTION
8b4f999 Jamozed 2020-06-27 14:00:03
6
Print user and group information for the specified \fIuser\fR, or the current
8b4f999 Jamozed 2020-06-27 14:00:03
7
user if no \fIuser\fR is specified.
8b4f999 Jamozed 2020-06-27 14:00:03
8
.SH OPTIONS
8b4f999 Jamozed 2020-06-27 14:00:03
9
The following options are supported:
8b4f999 Jamozed 2020-06-27 14:00:03
10
.TP
8b4f999 Jamozed 2020-06-27 14:00:03
11
.B -G
8b4f999 Jamozed 2020-06-27 14:00:03
12
Output all group IDs.
8b4f999 Jamozed 2020-06-27 14:00:03
13
.TP
8b4f999 Jamozed 2020-06-27 14:00:03
14
.B -g
8b4f999 Jamozed 2020-06-27 14:00:03
15
Output only the effective group ID.
8b4f999 Jamozed 2020-06-27 14:00:03
16
.TP
8b4f999 Jamozed 2020-06-27 14:00:03
17
.B -n
8b4f999 Jamozed 2020-06-27 14:00:03
18
Output the names of groups and users instead of their IDs.
8b4f999 Jamozed 2020-06-27 14:00:03
19
.TP
8b4f999 Jamozed 2020-06-27 14:00:03
20
.B -r
8b4f999 Jamozed 2020-06-27 14:00:03
21
Output the real ID instead of the effective ID.
8b4f999 Jamozed 2020-06-27 14:00:03
22
.TP
8b4f999 Jamozed 2020-06-27 14:00:03
23
.B -u
8b4f999 Jamozed 2020-06-27 14:00:03
24
Output only the effective user ID.
8b4f999 Jamozed 2020-06-27 14:00:03
25
.TP
8b4f999 Jamozed 2020-06-27 14:00:03
26
.B --help
8b4f999 Jamozed 2020-06-27 14:00:03
27
Display help information.
8b4f999 Jamozed 2020-06-27 14:00:03
28
.TP
8b4f999 Jamozed 2020-06-27 14:00:03
29
.B --version
8b4f999 Jamozed 2020-06-27 14:00:03
30
Display version information.
8b4f999 Jamozed 2020-06-27 14:00:03
31
.SH OPERANDS
8b4f999 Jamozed 2020-06-27 14:00:03
32
The following operand is supported:
8b4f999 Jamozed 2020-06-27 14:00:03
33
.TP
8b4f999 Jamozed 2020-06-27 14:00:03
34
.I user
8b4f999 Jamozed 2020-06-27 14:00:03
35
A username to show ID information for.
8b4f999 Jamozed 2020-06-27 14:00:03
36
.SH EXIT STATUS
8b4f999 Jamozed 2020-06-27 14:00:03
37
The following exit values will be returned:
8b4f999 Jamozed 2020-06-27 14:00:03
38
.TP
8b4f999 Jamozed 2020-06-27 14:00:03
39
\ 0
8b4f999 Jamozed 2020-06-27 14:00:03
40
Successful completion.
8b4f999 Jamozed 2020-06-27 14:00:03
41
.TP
8b4f999 Jamozed 2020-06-27 14:00:03
42
>0
8b4f999 Jamozed 2020-06-27 14:00:03
43
An error occurred.
8b4f999 Jamozed 2020-06-27 14:00:03
44
.SH STANDARDS
8b4f999 Jamozed 2020-06-27 14:00:03
45
The \fIid\fR utility is compliant with the IEEE Std 1003.2-1992 ("POSIX.2")
8b4f999 Jamozed 2020-06-27 14:00:03
46
specification.
8b4f999 Jamozed 2020-06-27 14:00:03
47
.SH COPYRIGHT
8b4f999 Jamozed 2020-06-27 14:00:03
48
.nf
8b4f999 Jamozed 2020-06-27 14:00:03
49
Copyright (C) 2020, Jakob Wakeling
e2140ec Jamozed 2022-03-06 15:27:45
50
MIT Licence (https://opensource.org/licenses/MIT)
8b4f999 Jamozed 2020-06-27 14:00:03
51
.fi
52