~/ 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/ee4c85a1-06c2-44dd-87ea-a33d70722625/flashcard utf-8 LF