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 the 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 current user
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
47 GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
48 Report id translation bugs to <http://translationproject.org/team/>
49
51 Written by Arnold Robbins and David MacKenzie.
52
54 Copyright © 2013 Free Software Foundation, Inc. License GPLv3+: GNU
55 GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
56 This is free software: you are free to change and redistribute it.
57 There is NO WARRANTY, to the extent permitted by law.
58
60 The full documentation for id is maintained as a Texinfo manual. If
61 the info and id programs are properly installed at your site, the com‐
62 mand
63
64 info coreutils 'id invocation'
65
66 should give you access to the complete manual.
67
68
69
70GNU coreutils 8.22 October 2018 ID(1)