~/ learn/ comp-325/ cards/ Users, groups, and the three permission classes
1 of 8

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/bdc0a3f5-056a-4ce8-b860-5e01a8c37eb6/flashcard utf-8 LF