Archive basics
Create and list a simulated tar archive.
Understand the pattern
Backups and deployments often use archive tools.
mkdir- Create a directory. -p also creates missing parent directories and accepts an existing directory.
Creating a folder does not change the current directory.
tar- Practice archive inventory, creation, and extraction in a simulated archive format.
These training archives are virtual data structures, not downloadable production tar files.
Worked example and expected result
$ mkdir -p lab(no output; exit 0)
Exit status: 0. The command completed successfully in the training fixture.
$ tar -cf lab/notes.tar README.txtcreated archive /home/learner/lab/notes.tar
Exit status: 0. The command completed successfully in the training fixture.
$ tar -tf lab/notes.tarREADME.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: File differencesTry 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.