Mission 07

Safe deletion

Remove a single fake file and learn why wildcards, root, and force deletes are blocked.

Files and paths
0/25 lessons 0/7 missions
Ops lab terminal Browser only
New learnerrank 0XP 0%complete
learner@clairos:/home/learner $ Unix ops lab: type a command, press Enter
Lesson support

What to notice while you play.

Objective

Practice naming one safe target instead of broad delete patterns.

Hint

Create lab/delete-me.txt first, then remove that exact path.

Why it matters

Real rm mistakes can be destructive; the lab teaches narrow targets.

Common mistakes
  • Using rm -rf before verifying the path.
  • Using wildcards when one filename is safer.
Reference

Commands in this lesson.

ls [-la] [path]

List fake files and folders.

touch <file>

Create an empty file.

rm <file>

Remove one fake file with safeguards.