Mission 208

Archive verification

List archive contents and compare checksums before trusting a backup.

Files and paths
8 minutes Admin Lesson 208 of 360
tarsha256sumcat
Lesson 208 of 360 0/360 lessons 0/17 missions Files and paths · 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.

Create site archive

Run tar -cf backups/site-check.tar /srv/www/index.html.

tar -cf backups/site-check.tar /srv/www/index.html
List site archive

Run tar -tf backups/site-check.tar.

tar -tf backups/site-check.tar
Read manifest again

Run cat backups/manifest.txt.

cat backups/manifest.txt
Lesson support

What to notice while you play.

Objective

List archive contents and compare checksums before trusting a backup.

Hint

Run the commands in order and compare the outputs.

Why it matters

Junior operators build confidence by gathering evidence before changing systems.

Common mistakes
  • Skipping the inspection step.
  • Assuming one command tells the whole story.
Reference

Commands in this lesson.

cat <file>

Print text file contents.

sha256sum <file>

Print a deterministic training checksum.

tar -cf|-tf <archive>

Create and list training archives.