Run groups.
groups
Practice simulated chown and chgrp changes while checking account context.
Permissions and userswhoamigroupschgrpstat
Click any instruction for the command details, the why, and the common mistake to avoid.
Run groups.
groups
Run chgrp www-data /srv/www/index.html.
chgrp www-data /srv/www/index.html
Run stat /srv/www/index.html.
stat /srv/www/index.html
Create a free account to sync completed lessons, XP, streaks, course status, and your next lesson across sessions.
Checking account status...
Progress sync is idle.
Progress sync stores completion IDs, scores, streaks, badges, and game settings. Terminal contents, editor snippets, lab scratch, email, and real names are never published on leaderboards or share cards.
Learn owner/group labels without touching real permissions.
Check groups before changing a simulated group.
Group ownership is a common way teams share access.
chgrp <group> <path>
Change a simulated file group label.
stat <path>
Show lab file details.
whoami|id|groups
Inspect the learner account.