Run mkdir lab/scratch.
mkdir lab/scratch
Create a temporary lab area inside home and clean one file safely.
Files and pathsmkdirtouchrm
Click any instruction for the command details, the why, and the common mistake to avoid.
Run mkdir lab/scratch.
mkdir lab/scratch
Run touch lab/scratch/temp.txt.
touch lab/scratch/temp.txt
Run rm lab/scratch/temp.txt.
rm lab/scratch/temp.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.
Practice bounded temporary work in the lab home directory.
Use lab/scratch instead of a system directory.
A bounded workspace lowers cleanup risk.
mkdir <name>
Create a folder.
touch <file>
Create an empty file.
rm <file>
Remove one lab file with safeguards.