Mission 317

Archive manifest workflow

Create an archive, list its members, and hash the artifact.

Files and paths
8 minutes Admin Lesson 317 of 360
tarsha256sum
Lesson 317 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 a small archive

Run tar -cf lab/readme-backup.tar README.txt.

tar -cf lab/readme-backup.tar README.txt
List archive members

Run tar -tf lab/readme-backup.tar.

tar -tf lab/readme-backup.tar
Hash the archive

Run sha256sum lab/readme-backup.tar.

sha256sum lab/readme-backup.tar
Lesson support

What to notice while you play.

Objective

Build repeatable confidence with verifying archive membership before trusting a backup.

Hint

Start with tar -cf lab/readme-backup.tar README.txt, inspect the result, then continue in order.

Why it matters

Verifying archive membership before trusting a backup helps operators explain what they know before they change anything.

Common mistakes
  • Skipping the output that proves verifying archive membership before trusting a backup.
  • Changing several things before recording a baseline.
Reference

Commands in this lesson.

sha256sum <file>

Print a deterministic training checksum.

tar -cf|-tf <archive>

Create and list training archives.