Skip to content
Clairos Learn

Capstone labs · Lesson 10 of 18 · 8 minutes

Final operator check

Complete the UNIX operator final review.

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.

printf
Format data deliberately, including separators and final newlines.

A format string controls output; a newline is data, not an automatic guarantee.

tee
Copy a stream both to a file and standard output; -a appends.

tee can overwrite a file even though the output is also visible on screen.

sha256sum
Compare content digests to detect byte changes, not to establish who authored the file.

A checksum detects changes only relative to a trusted expected digest.

history
Review commands entered during this session. History is a navigation aid, not evidence that a command succeeded.

Completion in this release checks command outcomes, not history strings alone.

Worked example and expected result
$ printf junior-operator-ready | tee lab/final-operator-check.txt
junior-operator-ready

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

$ sha256sum lab/final-operator-check.txt
0fee65c67d862f8f2e1a48e5455234ff94bdcdc4775aa2387593adc5a4a0f73a  /home/learner/lab/final-operator-check.txt

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

$ history
   1  printf junior-operator-ready | tee lab/final-operator-check.txt
   2  sha256sum lab/final-operator-check.txt

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

Apply it elsewhere

Before adapting the sha256sum workflow from “Final operator check” to another server, what should you do?

Keep the momentum.

Complete the lab, then explain and apply the pattern.

Next: Capstone website outageTry 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. 01Capstone hardening reviewTie hardening settings to exposure and identity.Practice
  2. 02Capstone website outageInvestigate a website outage using service, config, logs, and listeners.Practice
  3. 03Capstone disk pressureInvestigate disk pressure and log retention evidence.Practice