Skip to content
Clairos Learn

Terminal basics · Lesson 22 of 34 · 8 minutes

Option reading habits

Compare option-heavy commands without changing state.

Mastery 0/3Run itExplain itApply it
learner@clairosSimulated Linux lab
learner@clairos:~ $
↑ history · Tab complete · Ctrl+C cancel · Esc, Tab to leaveExit 0

Understand the pattern

Junior operators build confidence by gathering evidence before changing systems.

ls
List directory entries; -a includes hidden names and -l adds ownership and permission detail.

A listing is not proof that you can read or modify every listed file.

ssh
Inspect a fixed SSH training scenario; no real remote connection is made.

Verify host identity and choose credentials deliberately on real systems.

scp
Practice a fixed simulated copy workflow without network transfer.

Direction, destination, and host identity matter before copying real files.

Worked example and expected result
$ ls -la /home/learner
--rw-r--r-- learner learners   105 .profile
ddrwx------ learner learners   dir .ssh
ddrwxr-xr-x learner learners   dir archive
ddrwxr-x--- learner learners   dir backups
ddrwxr-xr-x learner learners   dir data
ddrwxr-xr-x learner learners   dir lab
ddrwxr-xr-x learner learners   dir notes
ddrwxr-xr-x learner learners   dir projects
--rw-r--r-- learner learners   148 README.txt
ddrwxr-x--- learner learners   dir restore
ddrwxr-xr-x learner learners   dir scripts

Exit status: 0. The command completed successfully in the training fixture.

$ ssh -V
OpenSSH_9.9p1 LearnSSL 1.0 (simulated)

Exit status: 0. The command completed successfully in the training fixture.

$ scp --help
usage: scp [-v] source target
This simulator only previews copy plans.

Exit status: 0. The command completed successfully in the training fixture.

Try a variation

Repeat this workflow in the sandbox with a different scratch filename. Keep the system fixtures unchanged and compare the observed output with your expectation before moving on.

Explain it

In “Option reading habits”, which interpretation is safe?

Apply it elsewhere

Before adapting the ssh workflow from “Option reading habits” to another server, what should you do?

Keep the momentum.

Complete the lab, then explain and apply the pattern.

Next: Terminal recoveryTry an incident drill

Anonymous lesson and mastery progress lasts for this session. Sign in to keep synced lesson XP between sessions; mastery stays device-local. No speed bonus, lost lives, or hint penalties.

Keep learning

  1. 01Manual depth reviewUse manual pages and command paths before running unfamiliar tools.Practice
  2. 02Terminal recoveryRecover orientation after clearing output or getting lost.Practice
  3. 03Quoted path habitsUse quotes when filenames contain spaces.Practice