Run mkdir lab to create a training folder.
mkdir lab
Create folders and files, then copy, move, and remove lab files carefully.
Files and pathsmkdirtouchcpmvrmfind
Click any instruction for the command details, the why, and the common mistake to avoid.
Run mkdir lab to create a training folder.
mkdir lab
Run touch lab/note.txt.
touch lab/note.txt
Run cp lab/note.txt lab/note-copy.txt.
cp lab/note.txt lab/note-copy.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.
Create a small lab area and make safe file changes inside it.
Create the folder before touching a file inside it.
Most terminal work is careful path and file manipulation.
mkdir <name>
Create a folder.
touch <file>
Create an empty file.
find [path] [-name text]
Search lab filesystem paths.
cp <src> <dst>
Copy a file.
mv <src> <dst>
Move or rename a file.
rm <file>
Remove one lab file with safeguards.