~/ learn/ comp-325/ cards/ File Security: Permissions, umask, and the Special Bits
1 of 75

Ask the kernel who it thinks you are

Ask the kernel who it thinks you are

Answer

id id -u groups

`id` prints the UID, the default GID, and every supplementary group in one line. `id -u` gives the bare number the kernel actually compares. `groups` prints just the names.

Sarwar & Koretsky 3e §5.4.1

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/e76bd209-307b-40da-a2dd-90a12df33763/flashcard utf-8 LF