ID(1)

πŸ“¦ version 0.12.0, in arch rolling

πŸ’… ID(1) β€” the id girlie's guide

okay so bestie, welcome to id, from the General Commands Manual section. this is literally the page that tells you who you are (in a uid/gid way, not a spiritual way πŸ’€). let's get into it ✨


🌸 NAME 🌸

id β€” prints user and group info for each USER you hand it, or (when you don't pass a USER at all) for the current user. that's it, that's the vibe 🫢


πŸŽ€ SYNOPSIS πŸŽ€

id [OPTION]... [USER]...

πŸ¦‹ DESCRIPTION πŸ¦‹

Print user and group information for each specified USER, or (when USER is omitted) for the current user. no cap, that's the whole thing πŸ’–


✨ OPTIONS ✨

  • -a, --ignore β€” ignore this one, it's just there for compatibility with other versions. it's giving "i'm just here so i don't get fined" πŸ™ˆ
  • -A β€” display the process audit user ID and other process audit properties β€” but heads up, this one requires privilege, and it's not available on Linux. so if you're on Linux, this is a no 🚫
  • -u, --user β€” display only the effective user ID, as a number. just the digits, nothing else πŸ”’
  • -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. like a little group-chat of numbers fr fr πŸ’¬
  • -p β€” make the output human-readable. each display goes on its own separate line 🧚
  • -n, --name β€” display the name of the user or group ID instead of the number, for the -G, -g and -u options. and if any of the ID numbers can't be mapped into names? the number gets displayed as usual, no biggie πŸ’…
  • -P β€” display the id as a password file entry
  • -r, --real β€” display the real ID instead of the effective ID, for the -G, -g and -u options. real vs effective, bestie, know the difference πŸ”₯
  • -z, --zero β€” delimit entries with NUL characters, not whitespace. and nope, this one is not permitted in default format ⚠️
  • -Z, --context β€” print only the security context of the process β€” (not enabled) πŸ™ƒ
  • -h, --help β€” print help
  • -V, --version β€” print version
  • [USER] β€” the user you're asking about, iconically listed right here with the options πŸ‘‘

πŸ‘‘ EXTRA πŸ‘‘

so the id utility displays the user and group names and numeric IDs β€” of the calling process β€” to standard output. if the real and effective IDs are different, both get displayed; otherwise only the real ID shows up. it's giving main character energy but only when it needs to πŸ¦‹

and if you specify a user (by login name or user ID), then the user and group IDs of that user get displayed instead. in that case, the real and effective IDs are assumed to be the same. periodt πŸ’œ


⭐ VERSION ⭐

v(uutils coreutils) 0.12.0


okay that's the whole page, bestie, you ate that πŸ“πŸ’– and for the record, this little masterpiece is dated 2026-09-17 and comes at you from v(uutils coreutils) 0.12.0 β€” go forth and know thyself 🌈✨

πŸ“¦ where this page comes from