Step 1/1: User and group ids

id shows the user’s UID, primary GID and all groups. -u, -g, -G show one part; add -n for names instead of numbers.

$ id -un
Beginnerid
User and group ids
Use id to print only the current user's names of all groups.
whoamiNext lesson:groups