Mission 42

Wildcard safety

See why broad delete patterns are blocked in the lab.

Files and paths
7 minutes Core Lesson 42 of 360
findrmls
Lesson 42 of 360 0/360 lessons 0/17 missions Files and paths · 7 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 7 minutes

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

Find note paths

Run find /home/learner -name note.

find /home/learner -name note
Try blocked wildcard

Run rm "*".

rm "*"
List home

Run ls /home/learner.

ls /home/learner
Lesson support

What to notice while you play.

Objective

Practice safer search-before-delete habits.

Hint

Use find, then try the blocked rm pattern.

Why it matters

A wrong wildcard can destroy real files quickly.

Common mistakes
  • Deleting before listing matches.
  • Combining wildcards with force flags.
Reference

Commands in this lesson.

ls [-la] [path]

List lab files and folders.

find [path] [-name text]

Search lab filesystem paths.

rm <file>

Remove one lab file with safeguards.

lsof

Show simulated files and sockets opened by services.