Mission 41

Rename workflow

Create a report draft and rename it safely.

Files and paths
8 minutes Core Lesson 41 of 360
mkdirtouchmv
Lesson 41 of 360 0/360 lessons 0/17 missions Files and paths · 8 minutes
0%
Continue View profile
Ops lab terminal Training lab
New learnerrank 0XP 0%complete
learner@clairos:/home/learner $ Unix ops lab: type a command, press Enter
Instructions 8 minutes

Click any instruction for the command details, the why, and the common mistake to avoid.

Create reports

Run mkdir lab/reports.

mkdir lab/reports
Create draft

Run touch lab/reports/draft.txt.

touch lab/reports/draft.txt
Rename final

Run mv lab/reports/draft.txt lab/reports/final.txt.

mv lab/reports/draft.txt lab/reports/final.txt
Lesson support

What to notice while you play.

Objective

Practice a tidy file workflow inside a nested folder.

Hint

Create lab/reports before touching the draft.

Why it matters

Admin notes and generated reports often need organized paths.

Common mistakes
  • Moving into a folder that does not exist.
  • Renaming the wrong file.
Reference

Commands in this lesson.

mkdir <name>

Create a folder.

touch <file>

Create an empty file.

mv <src> <dst>

Move or rename a file.