Mission 31

Option patterns

Compare short flags and long listings in a safe directory.

Terminal basics
7 minutes Core Lesson 31 of 360
lsman
Lesson 31 of 360 0/360 lessons 0/17 missions Terminal basics · 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.

Long list home

Run ls -l /home/learner.

ls -l /home/learner
All list etc

Run ls -la /etc.

ls -la /etc
Review ls options

Run man ls.

man ls
Lesson support

What to notice while you play.

Objective

See how options alter output before using them in bigger commands.

Hint

Compare ls, ls -l, and ls -la.

Why it matters

Reading options carefully prevents wrong assumptions about hidden files or metadata.

Common mistakes
  • Treating all flags as universal.
  • Forgetting that hidden files need -a.
Reference

Commands in this lesson.

ls [-la] [path]

List lab files and folders.

man <command>

Read a short educational manual page.

lsof

Show simulated files and sockets opened by services.