~/ learn/ comp-325/ cards/ Where things live, and what a login line says
1 of 10

Read the interesting fields out of the whole file

Read the interesting fields out of the whole file

Answer

cut -d: -f1,5,6,7 /etc/passwd cut -d: -f1,3,4 /etc/passwd | head -5

`-d:` sets the delimiter to a colon and `-f` picks fields by number, so this is the password file with the noise removed. The second line is the UID/GID view: it makes the reserved system accounts at the low numbers obvious.

Sarwar & Koretsky 3e ch4 §4.4.4

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/49b56537-5e2d-4cce-9a1a-6e37eb9a618b/flashcard utf-8 LF