Mission 86

Deploy script review

Read, hash, and inspect a training deploy script.

Server operations
8 minutes Admin Lesson 86 of 360
catsha256sumstat
Lesson 86 of 360 0/360 lessons 0/17 missions Server operations · 8 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 8 minutes

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

Read deploy script

Run cat scripts/deploy.sh.

cat scripts/deploy.sh
Hash deploy script

Run sha256sum scripts/deploy.sh.

sha256sum scripts/deploy.sh
Inspect deploy script

Run stat scripts/deploy.sh.

stat scripts/deploy.sh
Lesson support

What to notice while you play.

Objective

Use read-only checks on a script.

Hint

Cat it, hash it, then stat it.

Why it matters

Scripts can encode powerful operational changes.

Common mistakes
  • Running scripts before reading them.
  • Assuming a filename proves a script is safe.
Reference

Commands in this lesson.

cat <file>

Print text file contents.

sha256sum <file>

Print a deterministic training checksum.

stat <path>

Show lab file details.