Run mkdir lab/shared.
mkdir lab/shared
Create a shared lab note and set group-oriented metadata.
Permissions and usersmkdirtouchchgrpchmod
Click any instruction for the command details, the why, and the common mistake to avoid.
Run mkdir lab/shared.
mkdir lab/shared
Run touch lab/shared/note.txt.
touch lab/shared/note.txt
Run chgrp learners lab/shared/note.txt.
chgrp learners lab/shared/note.txt
Run chmod 664 lab/shared/note.txt.
chmod 664 lab/shared/note.txt
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.
Use group and mode together.
Use chgrp learners, then chmod 664.
Collaboration often depends on group write access.
mkdir <name>
Create a folder.
touch <file>
Create an empty file.
chmod <mode> <path>
Change a simulated numeric permission mode.
chgrp <group> <path>
Change a simulated file group label.