1ID(1) User Commands ID(1)
2
3
4
6 id - print real and effective user and group IDs
7
9 id [OPTION]... [USER]...
10
12 Print user and group information for each specified USER, or (when USER
13 omitted) for the current user.
14
15 -a ignore, for compatibility with other versions
16
17 -Z, --context
18 print only the security context of the process
19
20 -g, --group
21 print only the effective group ID
22
23 -G, --groups
24 print all group IDs
25
26 -n, --name
27 print a name instead of a number, for -ugG
28
29 -r, --real
30 print the real ID instead of the effective ID, with -ugG
31
32 -u, --user
33 print only the effective user ID
34
35 -z, --zero
36 delimit entries with NUL characters, not whitespace;
37
38 not permitted in default format
39
40 --help display this help and exit
41
42 --version
43 output version information and exit
44
45 Without any OPTION, print some useful set of identified information.
46
48 Written by Arnold Robbins and David MacKenzie.
49
51 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
52 Report any translation bugs to <https://translationproject.org/team/>
53
55 Copyright © 2020 Free Software Foundation, Inc. License GPLv3+: GNU
56 GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
57 This is free software: you are free to change and redistribute it.
58 There is NO WARRANTY, to the extent permitted by law.
59
61 Full documentation <https://www.gnu.org/software/coreutils/id>
62 or available locally via: info '(coreutils) id invocation'
63
64
65
66GNU coreutils 8.32 July 2021 ID(1)