id(1)
π id(1) β bestie, let's find out who you even ARE π
okay so real talk, this is the id page from the General Commands Manual, and it's genuinely one of the most useful little commands in your whole toolkit. it's giving "who am i, really" energy, but for your user and group IDs. no cap.
β¨ NAME β¨
id β Print user and group information for each specified USER, or (when USER omitted) for the current user.
like literally it just tells you who the process thinks it is. iconic behaviour honestly π«Ά
πΈ SYNOPSIS πΈ
id [-a|--ignore] [-A ] [-u|--user] [-g|--group] [-G|--groups] [-p ]
[-n|--name] [-P ] [-r|--real] [-z|--zero] [-Z|--context] [-h|--help]
[-V|--version] [USER]
she's got a LOT of flags bestie, don't panic, we're going through every single one π
π¦ DESCRIPTION π¦
Print user and group information for each specified USER, or (when USER omitted) for the current user.
that's it. that's the whole vibe. you ask, she answers, you move on with your day β¨
π OPTIONS π
-a,--ignoreβ ignore, for compatibility with other versions-Aβ Display the process audit user ID and other process audit properties, which requires privilege (not available on Linux).-u,--userβ Display only the effective user ID as a number.-g,--groupβ Display only the effective group ID as a number-G,--groupsβ Display only the different group IDs as white-space separated numbers, in no particular order.-pβ Make the output human-readable. Each display is on a separate line.-n,--nameβ Display the name of the user or group ID for the-G,-gand-uoptions instead of the number. If any of the ID numbers cannot be mapped into names, the number will be displayed as usual.-Pβ Display the id as a password file entry.-r,--realβ Display the real ID for the-G,-gand-uoptions instead of the effective ID.-z,--zeroβ delimit entries with NUL characters, not whitespace; not permitted in default format-Z,--contextβ print only the security context of the process-h,--helpβ Print help-V,--versionβ Print version[USER]
heads up bestie π-zis not permitted in default format. she's strict about that one. and-Aneeds privilege and is not available on Linux, so don't come for her when it doesn't work.
π EXTRA π
The id utility displays the user and group names and numeric IDs, of the calling process, to the standard output. If the real and effective IDs are different, both are displayed, otherwise only the real ID is displayed.
If a user (login name or user ID) is specified, the user and group IDs of that user are displayed. In this case, the real and effective IDs are assumed to be the same.
so basically: no USER = she's talking about you. USER given = she's talking about them, and she just assumes real == effective because why would she assume otherwise, that's rude π
β VERSION β
v(uutils coreutils) 0.7.0
and that's the whole page, bestie!! this is id from uutils coreutils, version 0.7.0, and the footer said id (uutils coreutils) 0.7.0 β same energy, same version, we love a consistent queen ππ
now go run id and go off β¨π¦πΈ
π¦ where this page comes from
- epel 10: rust-coreutils-devel 0.7.0-10.el10_3 Β· MIT
- epel 10: uutils-coreutils 0.7.0-10.el10_3 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- fedora 43: rust-coreutils-devel 0.7.0-12.fc43 Β· MIT
- fedora 43: uutils-coreutils 0.7.0-12.fc43 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- fedora 44: rust-coreutils-devel 0.7.0-4.fc44 Β· MIT
- fedora 44: uutils-coreutils 0.7.0-4.fc44 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms