Checksum compare
Hash source and restored files to confirm they match.
Understand the pattern
Junior operators build confidence by gathering evidence before changing systems.
cp- Copy a file to a new location, leaving the original in place.
Confirm the destination before replacing a file. This lab supports file copies, not every cp option.
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.
Worked example and expected result
$ cp README.txt restore/README.txt(no output; exit 0)
Exit status: 0. The command completed successfully in the training fixture.
$ sha256sum README.txta76968d5df26cfd59ecd7d080f8283d65e91ec7366d233b4b98233877aa154c6 /home/learner/README.txt
Exit status: 0. The command completed successfully in the training fixture.
$ sha256sum restore/README.txta76968d5df26cfd59ecd7d080f8283d65e91ec7366d233b4b98233877aa154c6 /home/learner/restore/README.txt
Exit status: 0. The command completed successfully in the training fixture.
Explain it
Apply it elsewhere
Keep the momentum.
Complete the lab, then explain and apply the pattern.
Next: Symlink inventoryTry an incident drillAnonymous 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.