Skip to content
Clairos Learn

Terminal basics · Lesson 1 of 34 · 8 minutes

Navigation

Map the training server, learn where you are, and move through directories.

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

Good operators orient themselves before they edit, delete, or restart anything.

pwd
Print the directory that relative paths currently resolve from.

A relative path is interpreted from the working directory, not necessarily the home folder.

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.

cat
Read one or more files to standard output without editing their contents.

Reading a source file should precede changing it; avoid printing real secrets.

Worked example and expected result
$ pwd
/home/learner

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

$ ls /
bin  etc  home  Library  srv  tmp  var

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

$ cat /etc/hostname
clairos-learn-lab

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 “Navigation”, which interpretation is safe?

Apply it elsewhere

Before adapting the ls workflow from “Navigation” to another server, what should you do?

Keep the momentum.

Complete the lab, then explain and apply the pattern.

Next: Paths and shortcutsTry 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. 01Paths and shortcutsPractice absolute paths, relative paths, dot, dot-dot, and home shortcuts.Practice
  2. 02Hidden filesUse long and all listings to reveal dotfiles and read shell startup notes.Practice
  3. 03Command historyRun a few safe commands, review history, and clear the display without resetting state.Practice