Mission 40

Checksums

Use deterministic training hashes to verify file identity.

Files and paths
7 minutes Core Lesson 40 of 360
sha256sumcat
Lesson 40 of 360 0/360 lessons 0/17 missions Files and paths · 7 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 7 minutes

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

Hash README

Run sha256sum README.txt.

sha256sum README.txt
Hash hostname

Run sha256sum /etc/hostname.

sha256sum /etc/hostname
Read checksum notes

Run cat /home/learner/data/checksums.txt.

cat /home/learner/data/checksums.txt
Lesson support

What to notice while you play.

Objective

Read and generate simple training checksums.

Hint

Run sha256sum on README and hostname.

Why it matters

Checksums help verify downloads, backups, and scripts.

Common mistakes
  • Treating a hash as encryption.
  • Comparing only file names instead of content.
Reference

Commands in this lesson.

cat <file>

Print text file contents.

sha256sum <file>

Print a deterministic training checksum.